aboutsummaryrefslogtreecommitdiff
path: root/src/routes/user
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-27 05:41:37 -0700
committerFuwn <[email protected]>2024-05-27 05:41:37 -0700
commit6efb9effde646dc9658c887e5848b33482bcab90 (patch)
tree4de05ff4207644feee461784c189c8404d72331b /src/routes/user
parentfix(match): simple native time comparison (diff)
downloaddue.moe-6efb9effde646dc9658c887e5848b33482bcab90.tar.xz
due.moe-6efb9effde646dc9658c887e5848b33482bcab90.zip
feat(hololive): parallax image for thumbnails
Diffstat (limited to 'src/routes/user')
-rw-r--r--src/routes/user/[user]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index 186b53c3..4152c9f4 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -70,7 +70,7 @@
const categories = preferences.pinned_badge_wall_categories;
const draggedIndex = categories.indexOf(draggedCategory);
- const targetIndex = categories.indexOf(category);
+ const targetIndex = categories.indexOf(category || '');
categories.splice(draggedIndex, 1);
categories.splice(targetIndex, 0, draggedCategory);