mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
split toolbar components (#635)
* split create menu into separate component * toolbar menu item component * toolbar menu component * component updates * unified property name * code and style improvements * login module (lazy)
This commit is contained in:
@@ -244,10 +244,13 @@ export class AppExtensionService implements RuleContext {
|
||||
return true;
|
||||
}
|
||||
|
||||
runActionById(id: string, context?: any) {
|
||||
runActionById(id: string) {
|
||||
const action = this.extensions.getActionById(id);
|
||||
if (action) {
|
||||
const { type, payload } = action;
|
||||
const context = {
|
||||
selection: this.selection
|
||||
};
|
||||
const expression = this.extensions.runExpression(payload, context);
|
||||
|
||||
this.store.dispatch({ type, payload: expression });
|
||||
|
Reference in New Issue
Block a user