mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Preferences: Add preferences kind and remove unused navbar settings (#59621)
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
"github.com/grafana/grafana/pkg/services/store/kind/jsonobj"
|
||||
"github.com/grafana/grafana/pkg/services/store/kind/playlist"
|
||||
"github.com/grafana/grafana/pkg/services/store/kind/png"
|
||||
"github.com/grafana/grafana/pkg/services/store/kind/preferences"
|
||||
"github.com/grafana/grafana/pkg/services/store/kind/snapshot"
|
||||
"github.com/grafana/grafana/pkg/services/store/kind/svg"
|
||||
"github.com/grafana/grafana/pkg/setting"
|
||||
@@ -61,6 +62,10 @@ func NewKindRegistry() KindRegistry {
|
||||
info: jsonobj.GetEntityKindInfo(),
|
||||
builder: jsonobj.GetEntitySummaryBuilder(),
|
||||
}
|
||||
kinds[entity.StandardKindPreferences] = &kindValues{
|
||||
info: preferences.GetEntityKindInfo(),
|
||||
builder: preferences.GetEntitySummaryBuilder(),
|
||||
}
|
||||
|
||||
// create a registry
|
||||
reg := ®istry{
|
||||
|
||||
Reference in New Issue
Block a user