@@ -88,6 +88,9 @@ export default {
|
||||
this.isLoading = true
|
||||
await this.$store.dispatch('fetchComments', { cardId: this.card.id })
|
||||
this.isLoading = false
|
||||
if (this.card.commentsUnread > 0) {
|
||||
await this.$store.dispatch('markCommentsAsRead', this.card.id)
|
||||
}
|
||||
},
|
||||
async createComment(content) {
|
||||
const commentObj = {
|
||||
|
||||
@@ -22,7 +22,10 @@
|
||||
|
||||
<template>
|
||||
<div class="badges">
|
||||
<div v-if="card.description" class="card-comments icon icon-edit" />
|
||||
<div v-if="card.description" class="icon icon-edit" />
|
||||
|
||||
<div v-if="card.commentsUnread > 0" class="icon icon-comment" />
|
||||
|
||||
|
||||
<div v-if="card.duedate" :class="dueIcon">
|
||||
<span>{{ dueTime }}</span>
|
||||
|
||||
Reference in New Issue
Block a user