Tweak name + add description (#49387)

pull/49052/head^2
Ashley Harrison 3 years ago committed by GitHub
parent 1402c85ce1
commit ae8c11bfa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/api/index.go
  2. 1
      public/app/features/notifications/StoredNotifications.tsx

@ -41,7 +41,7 @@ func (hs *HTTPServer) getProfileNode(c *models.ReqContext) *dtos.NavLink {
if hs.Features.IsEnabled(featuremgmt.FlagPersistNotifications) {
children = append(children, &dtos.NavLink{
Text: "Notifications", Id: "notifications", Url: hs.Cfg.AppSubURL + "/notifications", Icon: "bell",
Text: "Notification history", Id: "notifications", Url: hs.Cfg.AppSubURL + "/notifications", Icon: "bell",
})
}

@ -43,6 +43,7 @@ export function StoredNotifications() {
return (
<div className={styles.wrapper}>
This page displays all past errors and warnings. Once dismissed, they cannot be retrieved.
<Button variant="destructive" onClick={clearAllNotifs} className={styles.clearAll}>
Clear all notifications
</Button>

Loading…
Cancel
Save