We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0573236 commit 2e5f054Copy full SHA for 2e5f054
services/static-webserver/client/source/class/osparc/store/Store.js
@@ -393,7 +393,7 @@ qx.Class.define("osparc.store.Store", {
393
) {
394
// If there is no default wallet set in preferences or the default wallet is not available anymore:
395
const myGroupId = osparc.auth.Data.getInstance().getGroupId();
396
- const myWallet = wallets.filter(wallet => wallet.getOwner() === myGroupId);
+ const myWallet = wallets.find(wallet => wallet.getOwner() === myGroupId);
397
if (myWallet) {
398
// select the personal wallet if it exists
399
preferenceSettings.requestChangePreferredWalletId(myWallet.getWalletId());
0 commit comments