mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-27 08:33:44 +00:00
fix: route may not be present
This commit is contained in:
@@ -426,7 +426,7 @@ const avatarTooltip = computed(() => {
|
||||
});
|
||||
|
||||
const setupHighlightTimer = () => {
|
||||
if (Number(route.query.messageId) !== Number(props.id)) {
|
||||
if (Number(route?.query?.messageId) !== Number(props.id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user