hide CW-ed featured notes on welcome page - fixes #458

not the most elegant solution, but simple and robust
This commit is contained in:
dakkar 2024-03-10 10:13:35 +00:00
parent d1f0fc6d5d
commit ff189b1952

View file

@ -40,7 +40,7 @@ const isScrolling = ref(false);
const scrollEl = shallowRef<HTMLElement>();
misskeyApiGet('notes/featured').then(_notes => {
notes.value = _notes;
notes.value = _notes.filter(n => n.cw == null);
});
onUpdated(() => {