adds upload dialog and duplicates

This commit is contained in:
Christian Beutel
2025-02-01 18:06:27 +01:00
parent ae3ef0e0a1
commit 0cf17cbd86
25 changed files with 499 additions and 147 deletions

View File

@@ -70,7 +70,7 @@
trail: trail.id ?? "",
});
let commentsLoading: boolean = $state(activeTab == 4);
let commentsLoading: boolean = $state(activeTab == 2);
let commentCreateLoading: boolean = $state(false);
let commentDeleteLoading: boolean = false;
@@ -150,7 +150,7 @@
: emptyStateTrailDark,
);
$effect(() => {
if (browser && activeTab == 4) {
if (browser && activeTab == 2) {
fetchComments();
}
});