mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 03:47:16 +08:00
FEATURE: themes and components split
* FEATURE: themes and components split * two seperate methods to switch theme type * use strict equality operator
This commit is contained in:
@ -53,11 +53,6 @@ export default Ember.Controller.extend({
|
||||
return this.shouldShow("mobile");
|
||||
},
|
||||
|
||||
@computed("onlyOverridden", "model.remote_theme")
|
||||
showSettings() {
|
||||
return false;
|
||||
},
|
||||
|
||||
@observes("onlyOverridden")
|
||||
onlyOverriddenChanged() {
|
||||
if (this.get("onlyOverridden")) {
|
||||
|
Reference in New Issue
Block a user