Appointment notification : link to panel DTL tab
This commit is contained in:
parent
53e8bd29ed
commit
0dc246d8e1
1 changed files with 5 additions and 1 deletions
|
|
@ -128,7 +128,11 @@ function readAll() {
|
||||||
|
|
||||||
// Functions
|
// Functions
|
||||||
function handleNotificationClick(notification) {
|
function handleNotificationClick(notification) {
|
||||||
const href = getHref(notification);
|
const href =
|
||||||
|
notification.type === "appointment-request"
|
||||||
|
? getHref(notification) + "?tab=designToLight"
|
||||||
|
: getHref(notification);
|
||||||
|
|
||||||
if (href.startsWith("http")) {
|
if (href.startsWith("http")) {
|
||||||
window.open(href, "_blank");
|
window.open(href, "_blank");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue