mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 00:48:05 +08:00
UX: List popular themes and components in admin panel (#6997)
Reorganizes theme create/upload flows into one install flow Adds quick list of popular themes/components with one-click installation
This commit is contained in:
@ -12,5 +12,10 @@ export default Ember.Controller.extend({
|
||||
@computed("model", "model.@each.component")
|
||||
childThemes(themes) {
|
||||
return themes.filter(t => t.get("component"));
|
||||
},
|
||||
|
||||
@computed("model", "model.@each.component")
|
||||
installedThemes(themes) {
|
||||
return themes.map(t => t.name);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user