mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
parent
98e7bb9ee9
commit
c78c5ce3f3
@ -63,6 +63,8 @@ type FeatureFlags struct {
|
|||||||
GraphQL bool
|
GraphQL bool
|
||||||
|
|
||||||
InsightsEnabled bool
|
InsightsEnabled bool
|
||||||
|
|
||||||
|
CommandPalette bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@ -86,6 +88,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.UseCaseOnboarding = true
|
f.UseCaseOnboarding = true
|
||||||
f.GraphQL = false
|
f.GraphQL = false
|
||||||
f.InsightsEnabled = false
|
f.InsightsEnabled = false
|
||||||
|
f.CommandPalette = false
|
||||||
}
|
}
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
rFFVal := reflect.ValueOf(f).Elem()
|
rFFVal := reflect.ValueOf(f).Elem()
|
||||||
|
Loading…
Reference in New Issue
Block a user