mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 17:52:24 +08:00
fix unconvert issues
This commit is contained in:
@ -69,7 +69,7 @@ func (pb *PluginBase) registerPlugin(pluginDir string) error {
|
||||
|
||||
for _, include := range pb.Includes {
|
||||
if include.Role == "" {
|
||||
include.Role = m.RoleType(m.ROLE_VIEWER)
|
||||
include.Role = m.ROLE_VIEWER
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user