From ff189b19529b583f2f60d0994dd3241e66f751f3 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 10 Mar 2024 10:13:35 +0000 Subject: [PATCH] hide CW-ed featured notes on welcome page - fixes #458 not the most elegant solution, but simple and robust --- packages/frontend/src/pages/welcome.timeline.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/welcome.timeline.vue b/packages/frontend/src/pages/welcome.timeline.vue index 59f91e8b4..be4cb2d2d 100644 --- a/packages/frontend/src/pages/welcome.timeline.vue +++ b/packages/frontend/src/pages/welcome.timeline.vue @@ -40,7 +40,7 @@ const isScrolling = ref(false); const scrollEl = shallowRef(); misskeyApiGet('notes/featured').then(_notes => { - notes.value = _notes; + notes.value = _notes.filter(n => n.cw == null); }); onUpdated(() => {