PublicDashboards: Paused or deleted public dashboard screen (#63970)

This commit is contained in:
juanicabanas
2023-03-03 10:12:29 -03:00
committed by GitHub
parent 92f47e72e1
commit c59682fad6
11 changed files with 172 additions and 10 deletions
@@ -43,6 +43,7 @@ func (api *Api) ViewPublicDashboard(c *contextmodel.ReqContext) response.Respons
IsFolder: false,
FolderId: dash.FolderID,
PublicDashboardAccessToken: pubdash.AccessToken,
PublicDashboardEnabled: pubdash.IsEnabled,
}
dash.Data.Get("timepicker").Set("hidden", !pubdash.TimeSelectionEnabled)