From f66e534f26e596f143dce4b2e9c4b0dc9b8b44dc Mon Sep 17 00:00:00 2001
From: dakkar <dakkar@thenautilus.net>
Date: Mon, 10 Feb 2025 11:54:47 +0000
Subject: fix the defaults

---
 packages/frontend/src/components/MkUrlPreview.vue | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'packages/frontend/src/components/MkUrlPreview.vue')

diff --git a/packages/frontend/src/components/MkUrlPreview.vue b/packages/frontend/src/components/MkUrlPreview.vue
index 7cfd831044..3fbfdda92c 100644
--- a/packages/frontend/src/components/MkUrlPreview.vue
+++ b/packages/frontend/src/components/MkUrlPreview.vue
@@ -117,7 +117,6 @@ const props = withDefaults(defineProps<{
 	compact: false,
 	showAsQuote: false,
 	showActions: true,
-	skipNoteIds: [],
 });
 
 const MOBILE_THRESHOLD = 500;
@@ -159,7 +158,7 @@ watch(activityPub, async (uri) => {
 			const response = await misskeyApi('ap/show', { uri });
 			if (response.type !== 'Note') return;
 			const theNoteId = response['object'].id;
-			if (theNoteId && props.skipNoteIds.includes(theNoteId)) {
+			if (theNoteId && props.skipNoteIds && props.skipNoteIds.includes(theNoteId)) {
 				hidePreview.value = true;
 				return;
 			}
-- 
cgit v1.2.3-freya

