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 4242 <Col sm =" 8" >
4343 {#if showHomeImage }
4444 <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;" />
4646 </div >
4747 {/if }
4848 </Col >
Original file line number Diff line number Diff line change 1919
2020 onMount (async () => {
2121 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' )) {
2523 let token = $page .url .searchParams .get (' token' );
24+ console .log (" login as explicit token in query." );
2625 await setToken (token);
26+ } else if (user .token ) {
27+ console .log (" login as existing account." );
2728 } else {
2829 await getToken (" [email protected] " , " 123456" , () => { 2930 console .log (" login as guest." );
Original file line number Diff line number Diff line change 10261026 < / Dropdown>
10271027 {/ if }
10281028 {: else }
1029- < div class = " cicon-wrap" >
1029+ < div class = " cicon-wrap align-content-end " >
10301030 {#if message .sender .role == UserRole .Client }
10311031 < img src= " images/users/user-dummy.jpg" class = " rounded-circle avatar-xs" alt= " avatar" >
10321032 {: else }
You can’t perform that action at this time.
0 commit comments