RestoreDashboards: Make confirmation text consistent (#92388)

* refactor: change wording

* refactor: change API

* refactor: clean up
This commit is contained in:
Laura Benz
2024-08-27 13:13:48 +03:00
committed by GitHub
parent f1ba609b34
commit 1f35bc8346
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ func (hs *HTTPServer) SoftDeleteDashboard(c *contextmodel.ReqContext) response.R
return response.JSON(http.StatusOK, util.DynMap{
"title": dash.Title,
"message": fmt.Sprintf("Dashboard %s moved to trash", dash.Title),
"message": fmt.Sprintf("Dashboard %s moved to Recently deleted", dash.Title),
"uid": dash.UID,
})
}