diff --git a/wallet-webapps/src/main/webapp/vue-app/wallet-common/walletCommon.js b/wallet-webapps/src/main/webapp/vue-app/wallet-common/walletCommon.js index 8fb4d6172..7a29f8d35 100644 --- a/wallet-webapps/src/main/webapp/vue-app/wallet-common/walletCommon.js +++ b/wallet-webapps/src/main/webapp/vue-app/wallet-common/walletCommon.js @@ -110,6 +110,11 @@ if (extensionRegistry) { id: 'wallet-space-settings', vueComponent: Vue.options.components['wallet-settings'], rank: 10, + isEnabled: (params) => { + return params.spaceApplications != null && params.spaceApplications.some( item => { + return item.id === 'SpaceWallet'; + }); + }, }); extensionRegistry.registerComponent('my-rewards-overview', 'my-rewards-item', { id: 'wallet-rewards-overview', @@ -121,4 +126,4 @@ if (extensionRegistry) { vueComponent: Vue.options.components['wallet-user-balance'], rank: 20, }); -} \ No newline at end of file +}