Add feature flag for global header. (#17936)

This commit is contained in:
Christopher Speller
2021-07-21 07:23:35 -07:00
committed by GitHub
parent 6688195dce
commit e3f82aac43
+4
View File
@@ -38,6 +38,9 @@ type FeatureFlags struct {
// Enable timed dnd support for user status
TimedDND bool
// Enable the Global Header
GlobalHeader bool
}
func (f *FeatureFlags) SetDefaults() {
@@ -53,6 +56,7 @@ func (f *FeatureFlags) SetDefaults() {
f.PluginFocalboard = ""
f.CustomDataRetentionEnabled = false
f.TimedDND = false
f.GlobalHeader = false
}
func (f *FeatureFlags) Plugins() map[string]string {