diff --git a/resources/spa/src/components/FootGuide.vue b/resources/spa/src/components/FootGuide.vue index 0a3646e5d..421aade75 100644 --- a/resources/spa/src/components/FootGuide.vue +++ b/resources/spa/src/components/FootGuide.vue @@ -75,12 +75,9 @@ export default { state.MESSAGE.NEW_UNREAD_COUNT['news-comment-pinned'] + state.MESSAGE.NEW_UNREAD_COUNT['post-comment-pinned'] + state.MESSAGE.NEW_UNREAD_COUNT['post-pinned'] + - state.MESSAGE.NEW_UNREAD_COUNT.system > - 0, + state.MESSAGE.NEW_UNREAD_COUNT.system > 0, profile: state => - state.MESSAGE.NEW_UNREAD_COUNT.following + - state.MESSAGE.NEW_UNREAD_COUNT.mutual > - 0, + state.MESSAGE.NEW_UNREAD_COUNT.following > 0, }), ...mapGetters(['hasUnreadChat']), hasMsg () { diff --git a/resources/spa/src/components/common/badge.vue b/resources/spa/src/components/common/badge.vue index ed3b4e41b..b152f1fcc 100644 --- a/resources/spa/src/components/common/badge.vue +++ b/resources/spa/src/components/common/badge.vue @@ -5,7 +5,7 @@ :class="classes" > - +
    + + diff --git a/resources/spa/src/page/message/MessageHome.vue b/resources/spa/src/page/message/MessageHome.vue index b79e29862..a01bb7844 100644 --- a/resources/spa/src/page/message/MessageHome.vue +++ b/resources/spa/src/page/message/MessageHome.vue @@ -116,13 +116,7 @@ export default { return this.newMsg.liked || 0 }, aCount () { - return ( - ~~this.newMsg['feed-comment-pinned'] + - ~~this.newMsg['news-comment-pinned'] + - ~~this.newMsg['post-comment-pinned'] + - ~~this.newMsg['post-pinned'] + - ~~this.newMsg['group-join-pinned'] - ) + return 0 }, }, methods: {