mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
improvement: better names in pages, folders and routes
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user