This commit is contained in:
afornerot 2024-02-24 12:34:14 +01:00
parent 61191bf0bc
commit 39ae7a4fb0
3 changed files with 4 additions and 2 deletions

View File

@ -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) {

View File

@ -10,6 +10,6 @@
</script>
<div class="{style}" style="background-image: url({img});">{name}</div>
<div class="{style}" style="background-image: url({img});">{position} = {name}</div>

View File

@ -378,11 +378,13 @@
<div style="width:600px; max-width:100%; display:flex; flex-direction: column; margin:auto;">
<Tile {...data.tiles[14]} />
<div style="display:flex">
<Tile {...data.tiles[13]} />
<div class="tilenone"></div>
<Tile {...data.tiles[15]} />
</div>
<div style="display:flex">
<Tile {...data.tiles[12]} />
<div class="tilenone"></div>