fixed login flow inconsistency
This commit is contained in:
parent
998e8f2517
commit
abab0df83f
10 changed files with 65 additions and 45 deletions
|
@ -29,7 +29,7 @@ export async function getNotifications() {
|
|||
}
|
||||
}
|
||||
}
|
||||
notif.status = await api.parsePost(notif.status, 0, false);
|
||||
notif.status = notif.status ? await api.parsePost(notif.status, 0, false) : null;
|
||||
notifications.update(notifications => [...notifications, notif]);
|
||||
}
|
||||
last_read_notif_id.set(data[0].id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue