mirror of
https://github.com/discourse/discourse.git
synced 2025-09-09 12:21:04 +08:00
UX: Improvements for theme UI (#5650)
* Don't display "Settings: YAML" in Custom CSS/HTML section * Don't show the settings tab for remote/imported themes
This commit is contained in:
parent
17a615165c
commit
adc46ac56c
2 changed files with 3 additions and 3 deletions
|
@ -37,9 +37,9 @@ export default Ember.Controller.extend({
|
|||
return this.shouldShow('mobile');
|
||||
},
|
||||
|
||||
@computed('onlyOverridden')
|
||||
@computed('onlyOverridden', 'model.remote_theme')
|
||||
showSettings() {
|
||||
return this.shouldShow('settings');
|
||||
return this.shouldShow('settings') && !this.get('model.remote_theme');
|
||||
},
|
||||
|
||||
@observes('onlyOverridden')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue