From 3a6907e377579657490d4b6751bdf35d7c04675b Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Tue, 23 Aug 2022 23:59:57 +0700 Subject: [PATCH] Add edit furnishing item inventory on set --- src/routes/furnishing/index.svelte | 112 ++++++++++++++++++----------- 1 file changed, 69 insertions(+), 43 deletions(-) diff --git a/src/routes/furnishing/index.svelte b/src/routes/furnishing/index.svelte index 7be715da..13a19fb9 100644 --- a/src/routes/furnishing/index.svelte +++ b/src/routes/furnishing/index.svelte @@ -4,17 +4,20 @@ @@ -224,10 +246,10 @@ {/each} + {#if openItemDetail.set === set.id} +
+
+ {openItemDetail.item} +

{furnishing[openItemDetail.item].name}

+
+ + + + + + + + + + + + +
{$t('furnishing.sets.used')}{used[openItemDetail.item] || 0}
{$t('furnishing.sets.available')}{saved[openItemDetail.item] || 0}
{$t('furnishing.sets.inInventory')} : +
+
+ + +
+
+ {/if}
{/if} - -