Skip to content

Commit f2ba299

Browse files
committedAug 16, 2020
fix: фикс пересылки сообщений, отображение переносов строк в пересланных
1 parent 4b03da6 commit f2ba299

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

Diff for: ‎src/components/messages/Messages.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<RouterView v-slot="{ Component }">
1010
<KeepAlive>
11-
<component :is="Component" :key="peer_id" />
11+
<component :is="Component" :key="`${route.name}${peer_id}`" />
1212
</KeepAlive>
1313
</RouterView>
1414
</div>

Diff for: ‎src/components/messages/chat/attachments/ForwardedMessage.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{ l('im_attachment_deleted') }}
2020
</div>
2121
<div v-else class="attach_fwd_msg_text">
22-
<VKText mention link>{{ msg.text }}</VKText>
22+
<VKText :inline="false" mention link>{{ msg.text }}</VKText>
2323
</div>
2424

2525
<Attachments :msg="msg" />

Diff for: ‎src/js/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export function convertCount(count) {
190190
return Math.floor(count / 1e3) + 'K';
191191
}
192192

193-
return '' + count;
193+
return count;
194194
}
195195

196196
export function getPhoto(obj) {

0 commit comments

Comments
 (0)