Add topbar hide theme selector setting
This commit is contained in:
@@ -134,6 +134,12 @@
|
||||
>
|
||||
{{ $t('profile.hide-change-password-link') }}
|
||||
</b-form-checkbox>
|
||||
|
||||
<b-form-checkbox
|
||||
v-model="topbarSettings.hideThemeSelector"
|
||||
>
|
||||
{{ $t('profile.hide-theme-selector') }}
|
||||
</b-form-checkbox>
|
||||
</b-form-group>
|
||||
</b-col>
|
||||
<b-col>
|
||||
|
||||
@@ -178,6 +178,7 @@
|
||||
</b-dropdown-item>
|
||||
|
||||
<b-dropdown
|
||||
v-if="!settings.hideThemeSelector"
|
||||
id="theme-dropleft"
|
||||
variant="link"
|
||||
text="Theme"
|
||||
|
||||
@@ -79,6 +79,7 @@ editor:
|
||||
hide: Hide profile
|
||||
hide-profile-link: Hide profile link
|
||||
hide-change-password-link: Hide change password link
|
||||
hide-theme-selector: Hide theme selector
|
||||
|
||||
links:
|
||||
title: Custom links
|
||||
|
||||
@@ -264,6 +264,7 @@ type (
|
||||
HideProfile bool `json:"hideProfile"`
|
||||
HideChangePasswordLink bool `json:"hideChangePasswordLink"`
|
||||
HideProfileLink bool `json:"hideProfileLink"`
|
||||
HideThemeSelector bool `json:"hideThemeSelector"`
|
||||
|
||||
HelpLinks []struct {
|
||||
Handle string `json:"handle"`
|
||||
|
||||
Reference in New Issue
Block a user