mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-24 23:10:24 +02:00
delay the first chart init at the end of the loop to avoid too many animations happening at once
This commit is contained in:
1 parent
8ec80c9828
commit
17628e554c
3 files changed
+3
-1
No files matched your search
@@ -92,6 +92,7 @@ export function logsList(logsSettings) {
|
||||
logsSettings.hasListItems = data.logs.length > 0;
|
||||
|
||||
if (!logsSettings.isFirstLoadReady) {
|
||||
await new Promise((r) => setTimeout(r, 0));
|
||||
logsSettings.isFirstLoadReady = true;
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in new issue
Block a user