коммит произвёл
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")
|
// Enable the Invite Members button on the left panel, possible values = ("none", "sticky", "lhs_button", "user_icon")
|
||||||
InviteMembersButton string
|
InviteMembersButton string
|
||||||
|
|
||||||
|
// Enable different team menu button treatments, possible values = ("none", "by_team_name", "inverted_sidebar_bg_color")
|
||||||
|
AddChannelButton string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) SetDefaults() {
|
func (f *FeatureFlags) SetDefaults() {
|
||||||
@@ -59,6 +62,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.PermalinkPreviews = true
|
f.PermalinkPreviews = true
|
||||||
f.GlobalHeader = false
|
f.GlobalHeader = false
|
||||||
f.InviteMembersButton = "none"
|
f.InviteMembersButton = "none"
|
||||||
|
f.AddChannelButton = "none"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FeatureFlags) Plugins() map[string]string {
|
func (f *FeatureFlags) Plugins() map[string]string {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user