diff options
author | Joas Schilling <coding@schilljs.com> | 2022-03-23 18:08:32 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-03-28 15:18:37 +0300 |
commit | 104c4fefe47d552011bb34ba439bc03d85013dcc (patch) | |
tree | eecc1079ce1df61a7aaddcf5264f2c629fd68515 /src | |
parent | 29a27a0a018c2f64585f70f574ff6ec9b1d40780 (diff) |
Can not copy link of open conversation without joining
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/LeftSidebar/ConversationsList/Conversation.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/LeftSidebar/ConversationsList/Conversation.vue b/src/components/LeftSidebar/ConversationsList/Conversation.vue index f4ac83589..99a6bc131 100644 --- a/src/components/LeftSidebar/ConversationsList/Conversation.vue +++ b/src/components/LeftSidebar/ConversationsList/Conversation.vue @@ -306,7 +306,7 @@ export default { }, to() { - return !this.isSearchResult ? { name: 'conversation', params: { token: this.item.token } } : '' + return this.item?.token ? { name: 'conversation', params: { token: this.item.token } } : '' }, isActive() { |