improvement: better names in pages, folders and routes

This commit is contained in:
canove
2020-09-03 18:31:12 -03:00
parent 514f1c3b75
commit c032ec309a
12 changed files with 22 additions and 17 deletions

View File

@@ -116,7 +116,7 @@ const NotificationsPopOver = () => {
notification.onclick = function (event) {
event.preventDefault(); //
window.open(`/chat/${ticket.id}`, "_self");
window.open(`/tickets/${ticket.id}`, "_self");
};
document.addEventListener("visibilitychange", () => {
@@ -137,7 +137,7 @@ const NotificationsPopOver = () => {
}, [setIsOpen]);
const handleSelectTicket = (e, ticket) => {
history.push(`/chat/${ticket.id}`);
history.push(`/tickets/${ticket.id}`);
handleClickAway();
};