Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 7394355

Browse files
naaajiiamysorto
authored andcommitted
chore: lint errors fix
1 parent 0b7a312 commit 7394355

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/shared/version-picker/version-picker.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ export class VersionPicker {
3737
*/
3838
onVersionChanged(version: VersionInfo) {
3939
if (!version.url.startsWith(window.location.href)) {
40-
window.location.assign(window.location.pathname ? (version.url + window.location.pathname + window.location.hash) : version.url );
40+
window.location.assign(
41+
window.location.pathname ?
42+
(version.url + window.location.pathname + window.location.hash)
43+
: version.url
44+
);
4145
}
4246
}
4347
}

0 commit comments

Comments
 (0)