Skip to content

Commit

Permalink
fix (login): loader before redirection
Browse files Browse the repository at this point in the history
When we have a single storage selected, we automatically redirect the
user to it as we don't need to wait for a user action. The thing is we
used to have this UI being shown with a button that didn't make sense.
Instead we want to show the loader when we reach those condition
  • Loading branch information
mickael-kerjean committed Nov 14, 2024
1 parent bd470b5 commit b7f2b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/assets/pages/connectpage/ctrl_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export default async function(render) {
if (Object.keys(p).length > 0) {
url += "&state=" + btoa(JSON.stringify(p));
}
toggleLoader(true);
location.href = url;
return rxjs.EMPTY;
}),
Expand Down

0 comments on commit b7f2b76

Please sign in to comment.