mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 01:03:10 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in a new issue