mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
remove theme yaml from UI, it only causes troubles
This commit is contained in:
parent
6385c7fcb3
commit
5ff857d770
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue