Skip to content

Commit

Permalink
Merge pull request #297 from 1000TurquoisePogs/bugfix/dispatcher-load
Browse files Browse the repository at this point in the history
App2App action load fix
  • Loading branch information
DivergentEuropeans authored Dec 1, 2020
2 parents 74bdda8 + 0282f48 commit 2b213ea
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ class AppDispatcherLoader implements MVDHosting.LoginActionInterface {
const id = plugin.getIdentifier();
if (appContents[id] && appContents[id].actions) { // If config has pre-existing actions for this plugin id,
appContents[id].actions.forEach((actionObject: any)=> {
ZoweZLUX.dispatcher.addRecognizerObject(actionObject); // register each object with the Dispatcher.
if (this.isValidAction(actionObject)) {
ZoweZLUX.dispatcher.registerAbstractAction(ZoweZLUX.dispatcher.makeActionFromObject(actionObject));
}
});
this.log.info(`ZWED5056I`, appContents[id].actions.length, id); //this.log.info(`Loaded ${appContents[id].actions.length} actions for App(${id})`);
}
Expand Down

0 comments on commit 2b213ea

Please sign in to comment.