Skip to content

Commit

Permalink
feat: Delete useless trigger while extensionRegistry trigger its own …
Browse files Browse the repository at this point in the history
…event - MEED-7475 - Meeds-io/MIPs#151

This change ensures to use extensionRegistry trigger rather than a custom trigger to define extensions which is redundant.
  • Loading branch information
boubaker committed Oct 2, 2024
1 parent c0a7b55 commit 0a35b0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kudos-webapps/src/main/webapp/vue-app/js/Kudos.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ export function registerExternalExtensions(title) {
},
};
extensionRegistry.registerExtension('profile-extension', 'action', profileExtensionAction);
document.dispatchEvent(new CustomEvent('profile-extension-updated', { detail: profileExtensionAction}));
}

export function registerOverviewExtension() {
Expand Down

0 comments on commit 0a35b0d

Please sign in to comment.