diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2023-05-04 23:08:39 +0200 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2023-05-05 09:54:27 +0200 |
commit | dbfb16fda20f6d283ea1212fe67f79fd03db1de0 (patch) | |
tree | 5688348949a4cd618a3cd75cc1b49ed44dbecf5c /src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | |
parent | d7df4fd08ef2a1b974a5c67f72d240472673459f (diff) |
techdebt(vue3): define emits
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index b0b8a2218..135b13179 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -235,6 +235,8 @@ export default { }, }, + emits: ['remove-file'], + setup() { const { openViewer } = useViewer() return { openViewer } |