mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
fix(control): unknown status at app_start
This commit is contained in:
@@ -12,6 +12,7 @@ const loading_display_ids: string[] = [];
|
||||
export async function on_app_start() {
|
||||
await db.files.clear();
|
||||
await db.files_on_display.clear();
|
||||
await db.displays.toCollection().modify({ status: null });
|
||||
await update_all_display_status(false);
|
||||
await setInterval(
|
||||
() => update_all_display_status(false),
|
||||
|
||||
Reference in New Issue
Block a user