Skip to content

Commit

Permalink
πŸ› Read-only user cannot open the iframes (#5048)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsaq007 authored Nov 20, 2023
1 parent 5035fe5 commit c12b6c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ qx.Class.define("osparc.study.StudyOptions", {
selectWallet(selection[0].walletId);
});
const preferredWallet = store.getPreferredWallet();
if (this.__projectWalletId) {
if (wallets.find(wallet => wallet.getWalletId() === parseInt(this.__projectWalletId))) {
selectWallet(this.__projectWalletId);
} else if (preferredWallet) {
selectWallet(preferredWallet.getWalletId());
Expand Down

0 comments on commit c12b6c7

Please sign in to comment.