FEATURE: ability to add all active components to theme (#8447)
* FEATURE: ability to add all active components to theme * FIX: add a component to all themes takes only active ones * FIX: move select components/themes to top * FIX: improve defaultIsAvailable * FIX: Add filter(Boolean) and remove btn class
This commit is contained in:
committed by
GitHub
parent
46fc45de99
commit
bb69e8942e
@@ -19,6 +19,7 @@ const Theme = RestModel.extend({
|
||||
isActive: or("default", "user_selectable"),
|
||||
isPendingUpdates: gt("remote_theme.commits_behind", 0),
|
||||
hasEditedFields: gt("editedFields.length", 0),
|
||||
hasParents: gt("parent_themes.length", 0),
|
||||
|
||||
@discourseComputed("theme_fields.[]")
|
||||
targets() {
|
||||
|
||||
Reference in New Issue
Block a user