diff --git a/edge/server/main.js b/edge/server/main.js index 0d62398..7d21c88 100644 --- a/edge/server/main.js +++ b/edge/server/main.js @@ -203,7 +203,7 @@ function initCard(ctx,card) { // Repository Tile async function getTiles(ctx) { - var obj = await store.query(ctx, "Tile"); + var obj = await store.query(ctx, "Tile", {"neq":{ "_id": "" }}, { orderBy: "position" }); return obj; } async function getTile(ctx,id) { diff --git a/src/lib/Tile.svelte b/src/lib/Tile.svelte index 621c448..fb5b4f5 100644 --- a/src/lib/Tile.svelte +++ b/src/lib/Tile.svelte @@ -10,6 +10,6 @@ -
{name}
+
{position} = {name}
diff --git a/src/routes/game/+page.svelte b/src/routes/game/+page.svelte index b353c60..37407f6 100644 --- a/src/routes/game/+page.svelte +++ b/src/routes/game/+page.svelte @@ -378,11 +378,13 @@
+
+