mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
remove theme yaml from UI, it only causes troubles
This commit is contained in:
parent
6385c7fcb3
commit
5ff857d770
@ -39,7 +39,7 @@ export default Ember.Controller.extend({
|
||||
|
||||
@computed('onlyOverridden', 'model.remote_theme')
|
||||
showSettings() {
|
||||
return this.shouldShow('settings') && !this.get('model.remote_theme');
|
||||
return false;
|
||||
},
|
||||
|
||||
@observes('onlyOverridden')
|
||||
|
@ -2,7 +2,7 @@ import RestModel from 'discourse/models/rest';
|
||||
import { default as computed } from 'ember-addons/ember-computed-decorators';
|
||||
|
||||
const THEME_UPLOAD_VAR = 2;
|
||||
const FIELDS_IDS = [0, 1, 5];
|
||||
const FIELDS_IDS = [0, 1];
|
||||
|
||||
const Theme = RestModel.extend({
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user