fix: default-selected reply scopes on client #67

Closed
toast wants to merge 8 commits from feat/default-note-visibility into main
Showing only changes of commit 2a650e2cc8 - Show all commits

View file

@ -145,7 +145,7 @@ let recentHashtags = $ref(JSON.parse(localStorage.getItem('hashtags') || '[]'));
let imeText = $ref('');
// TODO: compat with misskey-js, should likely be moved into foundkey-js
const visibilityScore = (a: string): string => {
const visibilityScore = (a: string): number => {
switch (a) {
case 'home': return 2;
case 'followers': return 1;