From b5599ce054c61be02dd4f673c46aea9debaa5982 Mon Sep 17 00:00:00 2001 From: canove Date: Wed, 29 Jul 2020 19:00:48 -0300 Subject: [PATCH] improvement: open notification in same window --- frontend/src/components/TicketsList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TicketsList/index.js b/frontend/src/components/TicketsList/index.js index 6697b16..eddd6ec 100644 --- a/frontend/src/components/TicketsList/index.js +++ b/frontend/src/components/TicketsList/index.js @@ -324,7 +324,7 @@ const TicketsList = () => { ); notification.onclick = function (event) { event.preventDefault(); // - window.open(`/chat/${data.ticket.id}`, "_blank"); + window.open(`/chat/${data.ticket.id}`, "_self"); }; document.getElementById("sound").play();