hide CW-ed featured notes on welcome page - fixes #458
not the most elegant solution, but simple and robust
This commit is contained in:
parent
d1f0fc6d5d
commit
ff189b1952
|
@ -40,7 +40,7 @@ const isScrolling = ref(false);
|
||||||
const scrollEl = shallowRef<HTMLElement>();
|
const scrollEl = shallowRef<HTMLElement>();
|
||||||
|
|
||||||
misskeyApiGet('notes/featured').then(_notes => {
|
misskeyApiGet('notes/featured').then(_notes => {
|
||||||
notes.value = _notes;
|
notes.value = _notes.filter(n => n.cw == null);
|
||||||
});
|
});
|
||||||
|
|
||||||
onUpdated(() => {
|
onUpdated(() => {
|
||||||
|
|
Loading…
Reference in New Issue