Fixed AuthToken Input on Chrome
This commit is contained in:
parent
a09f654c93
commit
98d7bc5567
1 changed files with 3 additions and 5 deletions
|
@ -18,11 +18,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
let authToken: string;
|
let authToken: string;
|
||||||
$: {
|
if (browser) {
|
||||||
if (browser) {
|
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
|
||||||
authToken = document.cookie.split("=")[document.cookie.split("=").length - 1];
|
$AuthTokenStore = authToken;
|
||||||
$AuthTokenStore = authToken;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const toggleSettings = () => {
|
const toggleSettings = () => {
|
||||||
|
|
Reference in a new issue