aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_message/chat_message.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-07 22:42:34 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 14:05:25 +0300
commit8d46fd78c7ada7600afe7b74932a6f2380964592 (patch)
treea8d43b426e466f9dec8c69a0d9d983bf21999778 /src/components/chat_message/chat_message.vue
parent95e74319e11e673ce0a6a53546eae98a0b9c3eb5 (diff)
migrate to v-slot
Diffstat (limited to 'src/components/chat_message/chat_message.vue')
-rw-r--r--src/components/chat_message/chat_message.vue32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/components/chat_message/chat_message.vue b/src/components/chat_message/chat_message.vue
index 0777f880..0f3fc97d 100644
--- a/src/components/chat_message/chat_message.vue
+++ b/src/components/chat_message/chat_message.vue
@@ -50,7 +50,7 @@
@show="menuOpened = true"
@close="menuOpened = false"
>
- <div slot="content">
+ <template v-slot:content>
<div class="dropdown-menu">
<button
class="button-default dropdown-item dropdown-item-icon"
@@ -59,26 +59,28 @@
<FAIcon icon="times" /> {{ $t("chats.delete") }}
</button>
</div>
- </div>
- <button
- slot="trigger"
- class="button-default menu-icon"
- :title="$t('chats.more')"
- >
- <FAIcon icon="ellipsis-h" />
- </button>
+ </template>
+ <template v-slot:trigger>
+ <button
+ class="button-default menu-icon"
+ :title="$t('chats.more')"
+ >
+ <FAIcon icon="ellipsis-h" />
+ </button>
+ </template>
</Popover>
</div>
<StatusContent
:status="messageForStatusContent"
:full-content="true"
>
- <span
- slot="footer"
- class="created-at"
- >
- {{ createdAt }}
- </span>
+ <template v-slot:footer>
+ <span
+ class="created-at"
+ >
+ {{ createdAt }}
+ </span>
+ </template>
</StatusContent>
</div>
</div>