mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 09:58:07 +01:00
user profile: only default to "pinned notes" if they exist
it's sensible to show the pinned notes first *if they exist* if there's nothing pinned, we're just showing an empty list let's show the "notes" tab in that case
This commit is contained in:
parent
92ffd2a5fc
commit
0d9d952d2c
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ const memoDraft = ref(props.user.memo);
|
|||
const isEditingMemo = ref(false);
|
||||
const moderationNote = ref(props.user.moderationNote);
|
||||
const editModerationNote = ref(false);
|
||||
const noteview = ref<string | null>('pinned');
|
||||
const noteview = ref<string | null>(props.user.pinnedNotes.length ? 'pinned' : null);
|
||||
|
||||
const listenbrainzdata = ref(false);
|
||||
if (props.user.listenbrainz) {
|
||||
|
|
Loading…
Reference in a new issue