We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59a615c commit a42ed1fCopy full SHA for a42ed1f
2 files changed
ui/public/config.json
@@ -57,5 +57,6 @@
57
"plugins": [],
58
"basicZoneEnabled": true,
59
"multipleServer": false,
60
+ "allowSettingTheme": true,
61
"docHelpMappings": {}
62
}
ui/src/components/page/GlobalLayout.vue
@@ -65,7 +65,7 @@
65
</a-drawer>
66
</template>
67
68
- <template v-if="isDevelopmentMode">
+ <template v-if="isDevelopmentMode || allowSettingTheme">
69
<drawer :visible="showSetting" placement="right">
70
<div slot="handler">
71
<a-button type="primary" size="large">
@@ -146,6 +146,9 @@ export default {
146
isDevelopmentMode () {
147
return process.env.NODE_ENV === 'development'
148
},
149
+ allowSettingTheme () {
150
+ return this.$config.allowSettingTheme
151
+ },
152
contentPaddingLeft () {
153
if (!this.fixSidebar || this.isMobile()) {
154
return '0'
0 commit comments