From dd393887e31d060b8ad44f3fe98aa3f4bb3675e7 Mon Sep 17 00:00:00 2001 From: Odei Maiz Date: Mon, 4 Nov 2024 17:19:35 +0100 Subject: [PATCH] refactor --- .../source/class/osparc/notification/NotificationUI.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/notification/NotificationUI.js b/services/static-webserver/client/source/class/osparc/notification/NotificationUI.js index d4a5b8ba11b..b2b002a4f80 100644 --- a/services/static-webserver/client/source/class/osparc/notification/NotificationUI.js +++ b/services/static-webserver/client/source/class/osparc/notification/NotificationUI.js @@ -231,10 +231,11 @@ qx.Class.define("osparc.notification.NotificationUI", { } this.fireEvent("notificationTapped"); - osparc.notification.Notifications.markAsRead(notification); + this.__openActionablePath(notification); + }, - // open actionable path + __openActionablePath: function(notification) { const actionablePath = notification.getActionablePath(); const items = actionablePath.split("/"); const resourceId = items.pop();