fix #34
This commit is contained in:
parent
21d3b70367
commit
2117e91969
1 changed files with 4 additions and 1 deletions
|
|
@ -161,7 +161,10 @@ function isCurrent(navItem) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function hasUnreadNotification(project) {
|
function hasUnreadNotification(project) {
|
||||||
return false;
|
if (!user.value) return false;
|
||||||
|
return user.value.notifications.some((notification) => {
|
||||||
|
return project.uri.includes(notification.location.project.uri);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function collapse() {
|
function collapse() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue