[5443] Check if title is empty before save a new dashboard

This commit is contained in:
Pavlos Daoglou
2016-11-29 12:25:20 +02:00
parent f7e8e9c9af
commit 7f7f080ad8
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ var (
ErrDashboardSnapshotNotFound = errors.New("Dashboard snapshot not found")
ErrDashboardWithSameNameExists = errors.New("A dashboard with the same name already exists")
ErrDashboardVersionMismatch = errors.New("The dashboard has been changed by someone else")
ErrDashboardTitleEmpty = errors.New("Dashboard title cannot be empty")
)
type UpdatePluginDashboardError struct {