* add AddChannelButton feature
Этот коммит содержится в:
Nathaniel Allred
2021-08-25 16:03:24 -05:00
коммит произвёл GitHub
родитель ddfa6e2436
Коммит 5e6514b39e

Просмотреть файл

@@ -43,6 +43,9 @@ type FeatureFlags struct {
// Enable the Invite Members button on the left panel, possible values = ("none", "sticky", "lhs_button", "user_icon")
InviteMembersButton string
// Enable different team menu button treatments, possible values = ("none", "by_team_name", "inverted_sidebar_bg_color")
AddChannelButton string
}
func (f *FeatureFlags) SetDefaults() {
@@ -59,6 +62,7 @@ func (f *FeatureFlags) SetDefaults() {
f.PermalinkPreviews = true
f.GlobalHeader = false
f.InviteMembersButton = "none"
f.AddChannelButton = "none"
}
func (f *FeatureFlags) Plugins() map[string]string {