Skip to content

Commit 2e5f054

Browse files
authored
Update Store.js
1 parent 0573236 commit 2e5f054

File tree

1 file changed

+1
-1
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/store/Store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ qx.Class.define("osparc.store.Store", {
393393
) {
394394
// If there is no default wallet set in preferences or the default wallet is not available anymore:
395395
const myGroupId = osparc.auth.Data.getInstance().getGroupId();
396-
const myWallet = wallets.filter(wallet => wallet.getOwner() === myGroupId);
396+
const myWallet = wallets.find(wallet => wallet.getOwner() === myGroupId);
397397
if (myWallet) {
398398
// select the personal wallet if it exists
399399
preferenceSettings.requestChangePreferredWalletId(myWallet.getWalletId());

0 commit comments

Comments
 (0)