move tabs into own pages
tinyedge/deploy Deployed by TinyEdge

This commit is contained in:
2026-08-07 15:49:43 +02:00
parent cbe1b42f6e
commit 99a9f908f1
13 changed files with 321 additions and 325 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ const route = useRoute();
const slug = route.params.slug as string;
const { data, refresh, error } = await useFetch<PotView>(`/api/pots/${slug}`);
const { confirm } = useConfirm();
const adding = ref(false);
const removingId = ref<number | null>(null);
@@ -24,7 +25,7 @@ async function addParticipant(participantName: string) {
}
async function removeParticipant(participant: { id: number; name: string }) {
if (!window.confirm(`Remove ${participant.name} from this Pot?`)) return;
if (!confirm(`Remove ${participant.name} from this Pot?`)) return;
removeError.value = '';
removingId.value = participant.id;