improvement: open notification in same window

This commit is contained in:
canove
2020-07-29 19:00:48 -03:00
parent 35174ff2d5
commit b5599ce054

View File

@@ -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();