From 2184afc99bd745dd08f257200e9d33144d188aab Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 21 Feb 2024 23:13:51 -0800 Subject: oops --- src/routes/(app)/[username]/(profile)/+page.svelte | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 0b706083..bf1090aa 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -43,8 +43,8 @@ info: { source, trigger }, } = e.detail; items = newItems; - if (source === SOURCES.KEYBOARD && trigger === TRIGGERS.DRAG_STOPPED) reset(); - + if (source === SOURCES.KEYBOARD && trigger === TRIGGERS.DRAG_STOPPED) + reset(); } async function handleFinalize(e) { @@ -53,8 +53,7 @@ info: { source }, } = e.detail; items = newItems; - if (source === SOURCES.POINTER) reset() - + if (source === SOURCES.POINTER) reset(); if (subject?.id === user?.id) { await post("/api/items/sort", { items }); @@ -227,7 +226,7 @@
-
{i.name} {dragDisabled}
+
{i.name}
{f(i.price, currency)} -- cgit v1.2.3