diff --git a/src/modules/contacts/components/opened-contact.vue b/src/modules/contacts/components/opened-contact.vue index af98c67..d46ff43 100644 --- a/src/modules/contacts/components/opened-contact.vue +++ b/src/modules/contacts/components/opened-contact.vue @@ -132,7 +132,7 @@ function close() { // Need to close the tab if you moved from another application // https://webitel.atlassian.net/browse/WTEL-4552 - if(window.history.length === 1) window.close(); + if(window.history.length === 1) return window.close(); return router.push('/contacts'); }