bugfixing
This commit is contained in:
parent
12bd1f54e9
commit
b2abca6308
@ -197,15 +197,14 @@
|
||||
|
||||
let LoginPopup;
|
||||
|
||||
$: if ($isOpen) {
|
||||
websocketRealtimeData();
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
if (!data?.user) {
|
||||
LoginPopup = (await import("$lib/components/LoginPopup.svelte")).default;
|
||||
}
|
||||
|
||||
if ($isOpen) {
|
||||
//&& currentDateTime > startTime && currentDateTime < endTime
|
||||
await websocketRealtimeData();
|
||||
}
|
||||
});
|
||||
|
||||
afterUpdate(async () => {
|
||||
|
||||
@ -205,14 +205,14 @@
|
||||
|
||||
let LoginPopup;
|
||||
|
||||
$: if ($isOpen) {
|
||||
websocketRealtimeData();
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
if (!data?.user) {
|
||||
LoginPopup = (await import("$lib/components/LoginPopup.svelte")).default;
|
||||
}
|
||||
|
||||
if ($isOpen) {
|
||||
await websocketRealtimeData();
|
||||
}
|
||||
});
|
||||
|
||||
afterUpdate(async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user