From 12c9479af845d79559b259f4f8ef832e4535c31f Mon Sep 17 00:00:00 2001 From: Matt N Date: Thu, 2 Apr 2020 23:15:20 -0700 Subject: [PATCH] Don't immediately remove notifications from notification trays Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern browsers generally use OS notifications so the user is in control of the notification at the OS level. --- client/app/services/notifications.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/app/services/notifications.js b/client/app/services/notifications.js index 99d7cc84ed..6999471e7f 100644 --- a/client/app/services/notifications.js +++ b/client/app/services/notifications.js @@ -33,9 +33,6 @@ function showNotification(title, content) { body: content, icon: redashIconUrl, }); - setTimeout(() => { - notification.close(); - }, 3000); notification.onclick = function onClick() { window.focus(); this.close();