From 9d5636f9c49e6437acb09c0c84cd923a9f4ff674 Mon Sep 17 00:00:00 2001 From: FineArchs <133759614+FineArchs@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:05:28 +0900 Subject: [PATCH] Update flash-edit.vue --- packages/frontend/src/pages/flash/flash-edit.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/flash/flash-edit.vue b/packages/frontend/src/pages/flash/flash-edit.vue index d282ed48107a..0e2aa09435d2 100644 --- a/packages/frontend/src/pages/flash/flash-edit.vue +++ b/packages/frontend/src/pages/flash/flash-edit.vue @@ -22,6 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-only +
@@ -379,7 +380,7 @@ if (props.id) { const title = ref(flash.value?.title ?? 'New Play'); const summary = ref(flash.value?.summary ?? ''); const permissions = ref(flash.value?.permissions ?? []); -const visibility = ref<'private' | 'public'>(flash.value?.visibility ?? 'public'); +const visibility = ref<'private' | 'urlonly' | 'public'>(flash.value?.visibility ?? 'public'); const script = ref(flash.value?.script ?? PRESET_DEFAULT); function selectPreset(ev: MouseEvent) {