- Refused User
- Report User - Unblock User - refresh tables when an action (setFriends and setGroups) occurred. - fix duplicate call of loadsite
This commit is contained in:
@@ -60,9 +60,14 @@ export const useNotifStore = defineStore('NotifStore', {
|
||||
// just to give more context for this demo.
|
||||
const countNow = this.getnumNotifUnread()
|
||||
|
||||
// @ts-ignore
|
||||
await navigator.setAppBadge(countNow)
|
||||
.catch((error: any) => { /* ... */ });
|
||||
try {
|
||||
// @ts-ignore
|
||||
await navigator.setAppBadge(countNow)
|
||||
.catch((error: any) => { /* ... */
|
||||
});
|
||||
}catch (e) {
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
setAllRead(username: string) {
|
||||
|
||||
Reference in New Issue
Block a user