File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 42
42
<Col sm =" 8" >
43
43
{#if showHomeImage }
44
44
<div class ="maintenance-img" transition:fade ={{ delay : 300 , duration : 500 }}>
45
- <img src ={PUBLIC_HOME_IMAGE } alt =" " style =" width: 25vw;" />
45
+ <img src ={PUBLIC_HOME_IMAGE } alt =" " style =" max- width: 25vw;" />
46
46
</div >
47
47
{/if }
48
48
</Col >
Original file line number Diff line number Diff line change 19
19
20
20
onMount (async () => {
21
21
let user = getUserStore ();
22
- if (user .token ) {
23
- console .log (" login as existing account." );
24
- } else if ($page .url .searchParams .has (' token' )) {
22
+ if ($page .url .searchParams .has (' token' )) {
25
23
let token = $page .url .searchParams .get (' token' );
24
+ console .log (" login as explicit token in query." );
26
25
await setToken (token);
26
+ } else if (user .token ) {
27
+ console .log (" login as existing account." );
27
28
} else {
28
29
await getToken (" [email protected] " , " 123456" , () => {
29
30
console .log (" login as guest." );
Original file line number Diff line number Diff line change 1026
1026
< / Dropdown>
1027
1027
{/ if }
1028
1028
{: else }
1029
- < div class = " cicon-wrap" >
1029
+ < div class = " cicon-wrap align-content-end " >
1030
1030
{#if message .sender .role == UserRole .Client }
1031
1031
< img src= " images/users/user-dummy.jpg" class = " rounded-circle avatar-xs" alt= " avatar" >
1032
1032
{: else }
You can’t perform that action at this time.
0 commit comments