Skip to content

Commit e7e4b6c

Browse files
committed
minor
1 parent f34fe9e commit e7e4b6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/auth/LoginWithDecorators.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ qx.Class.define("osparc.auth.LoginWithDecorators", {
219219
if (urlFragment.nav && urlFragment.nav.length) {
220220
if (urlFragment.nav[0] === "registration") {
221221
pages.setSelection([registration]);
222-
} else if (urlFragment.nav[0] === "request-account" && requestAccount) {
223-
pages.setSelection([requestAccount]);
222+
} else if (urlFragment.nav[0] === "request-account") {
223+
requestAccount ? pages.setSelection([requestAccount]) : pages.setSelection([registration]);
224224
} else if (urlFragment.nav[0] === "reset-password") {
225225
pages.setSelection([resetPassword]);
226226
}

0 commit comments

Comments
 (0)