From 3402178932f8a4ebdf10e62b53eb76befa9de889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20T=C3=A4kker?= Date: Sat, 26 Sep 2026 00:04:55 +0200 Subject: [PATCH] Add singles from admin --- app/components/Admin/ModalForm.vue | 8 +++- app/pages/admin/songs.vue | 65 ++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) diff --git a/app/components/Admin/ModalForm.vue b/app/components/Admin/ModalForm.vue index 7ec192d..b8af52e 100644 --- a/app/components/Admin/ModalForm.vue +++ b/app/components/Admin/ModalForm.vue @@ -4,6 +4,7 @@ import { type Option } from "~/ui/SearchSelect.vue" interface BaseField { key: keyof T label?: string + visibleWhen?: (value: any) => boolean } interface TextField extends BaseField { @@ -114,7 +115,12 @@ watch(

{{ props.title }}

-