functional minimalism
This commit is contained in:
@@ -56,10 +56,6 @@ class Extension extends Item {
|
||||
this.content_type = "Extension";
|
||||
}
|
||||
|
||||
get syncProviderAction() {
|
||||
return _.find(this.actions, {sync_provider: true})
|
||||
}
|
||||
|
||||
actionsInGlobalContext() {
|
||||
return this.actions.filter(function(action){
|
||||
return action.context == "global" || action.sync_provider == true;
|
||||
|
||||
Reference in New Issue
Block a user