From 0554531b127f7b2322e45b0a989b6ab6c14c7288 Mon Sep 17 00:00:00 2001 From: waltem01 Date: Fri, 16 Feb 2024 09:27:19 +0100 Subject: [PATCH] use matrix interface on admin --- Webserver/src/routes/admin/+page.svelte | 36 +++++++++++++++++-------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/Webserver/src/routes/admin/+page.svelte b/Webserver/src/routes/admin/+page.svelte index b77507d..d3af191 100644 --- a/Webserver/src/routes/admin/+page.svelte +++ b/Webserver/src/routes/admin/+page.svelte @@ -1,7 +1,13 @@ @@ -561,7 +575,7 @@
- {#each matrix as row} + {#each matrix?.grid ?? [] as row} {#each row as cell} {#each row as cell}
@@ -578,7 +592,7 @@ on:mousedown|preventDefault={() => (mousePressed = true)} on:mouseup|preventDefault={() => (mousePressed = false)} > - {#each matrix as row} + {#each matrix?.grid ?? [] as row}