summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/components/MkTutorialDialog.Sensitive.vue')
-rw-r--r--packages/frontend/src/components/MkTutorialDialog.Sensitive.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue b/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
index dd255a2214..4b4e8ea8f8 100644
--- a/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
+++ b/packages/frontend/src/components/MkTutorialDialog.Sensitive.vue
@@ -1,5 +1,5 @@
<!--
-SPDX-FileCopyrightText: syuilo and other misskey contributors
+SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->
@@ -40,7 +40,7 @@ const emit = defineEmits<{
const onceSucceeded = ref<boolean>(false);
function doSucceeded(fileId: string, to: boolean) {
- if (fileId === exampleNote.fileIds[0] && to) {
+ if (fileId === exampleNote.fileIds?.[0] && to) {
onceSucceeded.value = true;
emit('succeeded');
}