Skip to content

Commit

Permalink
Merge pull request #83 from webitel/fix/closing-new-browser-tab
Browse files Browse the repository at this point in the history
fix: closing new browser tab[WTEL-4575]
  • Loading branch information
Lera24 authored Jun 24, 2024
2 parents b34655a + f38798b commit 50660c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/contacts/components/opened-contact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 50660c3

Please sign in to comment.