|
24 | 24 | @room-info="$emit('room-info')"
|
25 | 25 | @menu-action-handler="$emit('menu-action-handler', $event)"
|
26 | 26 | >
|
27 |
| - <template v-for="(i, name) in $scopedSlots" #[name]="data"> |
| 27 | + <template v-for="(i, name) in $slots" #[name]="data"> |
28 | 28 | <slot :name="name" v-bind="data" />
|
29 | 29 | </template>
|
30 | 30 | </room-header>
|
|
36 | 36 | @scroll="onContainerScroll"
|
37 | 37 | >
|
38 | 38 | <loader :show="loadingMessages">
|
39 |
| - <template v-for="(idx, name) in $scopedSlots" #[name]="data"> |
| 39 | + <template v-for="(idx, name) in $slots" #[name]="data"> |
40 | 40 | <slot :name="name" v-bind="data" />
|
41 | 41 | </template>
|
42 | 42 | </loader>
|
|
59 | 59 | id="infinite-loader-messages"
|
60 | 60 | >
|
61 | 61 | <loader :show="true" :infinite="true">
|
62 |
| - <template v-for="(idx, name) in $scopedSlots" #[name]="data"> |
| 62 | + <template v-for="(idx, name) in $slots" #[name]="data"> |
63 | 63 | <slot :name="name" v-bind="data" />
|
64 | 64 | </template>
|
65 | 65 | </loader>
|
|
89 | 89 | @send-message-reaction="sendMessageReaction"
|
90 | 90 | @hide-options="hideOptions = $event"
|
91 | 91 | >
|
92 |
| - <template v-for="(idx, name) in $scopedSlots" #[name]="data"> |
| 92 | + <template v-for="(idx, name) in $slots" #[name]="data"> |
93 | 93 | <slot :name="name" v-bind="data" />
|
94 | 94 | </template>
|
95 | 95 | </message>
|
|
154 | 154 | :link-options="linkOptions"
|
155 | 155 | @reset-message="resetMessage"
|
156 | 156 | >
|
157 |
| - <template v-for="(i, name) in $scopedSlots" #[name]="data"> |
| 157 | + <template v-for="(i, name) in $slots" #[name]="data"> |
158 | 158 | <slot :name="name" v-bind="data" />
|
159 | 159 | </template>
|
160 | 160 | </room-message-reply>
|
|
164 | 164 | @remove-file="removeFile"
|
165 | 165 | @reset-message="resetMessage"
|
166 | 166 | >
|
167 |
| - <template v-for="(i, name) in $scopedSlots" #[name]="data"> |
| 167 | + <template v-for="(i, name) in $slots" #[name]="data"> |
168 | 168 | <slot :name="name" v-bind="data" />
|
169 | 169 | </template>
|
170 | 170 | </room-files>
|
|
249 | 249 | @add-emoji="addEmoji"
|
250 | 250 | @open-emoji="emojiOpened = $event"
|
251 | 251 | >
|
252 |
| - <template v-for="(i, name) in $scopedSlots" #[name]="data"> |
| 252 | + <template v-for="(i, name) in $slots" #[name]="data"> |
253 | 253 | <slot :name="name" v-bind="data" />
|
254 | 254 | </template>
|
255 | 255 | </emoji-picker-container>
|
@@ -577,7 +577,7 @@ export default {
|
577 | 577 | })
|
578 | 578 | },
|
579 | 579 |
|
580 |
| - beforeDestroy() { |
| 580 | + beforeUnmount() { |
581 | 581 | this.stopRecorder()
|
582 | 582 | },
|
583 | 583 |
|
|
0 commit comments