diff --git a/frontend/views/containers/chatroom/chat-mentions/RenderMessageWithMarkdown.js b/frontend/views/containers/chatroom/chat-mentions/RenderMessageWithMarkdown.js index 7d4ea43f1..d17a02f65 100644 --- a/frontend/views/containers/chatroom/chat-mentions/RenderMessageWithMarkdown.js +++ b/frontend/views/containers/chatroom/chat-mentions/RenderMessageWithMarkdown.js @@ -37,10 +37,7 @@ const RenderMessageWithMarkdown: any = { for (const [key, value] of url.searchParams) { query[key] = value } - routerOptions.route = { path, query } - if (url.hash) { - routerOptions.route['hash'] = url.hash - } + routerOptions.route = { path, query, hash: url.hash } routerOptions.href = this.$router.resolve(routerOptions.route).href routerOptions.isInAppRouter = true }