better click handler
This commit is contained in:
parent
8780e0191e
commit
bebb3fcfa6
4 changed files with 30 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<template>
|
||||
<article
|
||||
v-if="notification.type === 'mention' || notification.type === 'status'"
|
||||
ref="root"
|
||||
>
|
||||
<Status
|
||||
class="Notification"
|
||||
|
|
@ -12,6 +13,7 @@
|
|||
<article
|
||||
class="NotificationParent"
|
||||
:class="{ '-expandable': expandable }"
|
||||
ref="root"
|
||||
v-else
|
||||
>
|
||||
<div
|
||||
|
|
@ -256,7 +258,7 @@
|
|||
:compact="!statusExpanded"
|
||||
:status="notification.status"
|
||||
:collapse="!statusExpanded"
|
||||
@click="toggleStatusExpanded()"
|
||||
@click="onContentClick"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue