Update packages/frontend/src/pages/flash/flash-edit.vue

This commit is contained in:
syuilo 2023-08-21 17:27:42 +09:00 committed by GitHub
parent 4d0e930c0c
commit f60210eae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -364,7 +364,8 @@ const props = defineProps<{
}>();
let flash = $ref(null);
let visibility = $ref("public");
let visibility = $ref('public');
if (props.id) {
flash = await os.api('flash/show', {
flashId: props.id,