comment reply notification working
This commit is contained in:
parent
2b059742e9
commit
51409bd090
1 changed files with 3 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
class="notification | bg-white rounded-lg | p-16 | flow"
|
||||
:data-status="notification.isread == true ? 'read' : 'unread'"
|
||||
data-type="comment"
|
||||
@click="read(notification)"
|
||||
@click="router.push(notification.location.dialoguri + '&comments=true')"
|
||||
>
|
||||
<header>
|
||||
<p class="flex">
|
||||
|
|
@ -42,8 +42,10 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useRouter } from "vue-router";
|
||||
import { useNotificationsStore } from "../../stores/notifications";
|
||||
|
||||
const router = useRouter();
|
||||
const { notification } = defineProps({ notification: Object });
|
||||
const { formatDate } = useNotificationsStore();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue