From 3ad073e5d345188452e5a898eaed6954b720a06d Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio.bekerle@tugraz.at> Date: Wed, 7 Aug 2019 11:23:06 +0200 Subject: [PATCH] Print a note if notification web component was not present --- packages/common/notification.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/common/notification.js b/packages/common/notification.js index 9df57b21..95481829 100644 --- a/packages/common/notification.js +++ b/packages/common/notification.js @@ -25,7 +25,8 @@ function send(options) { // true means the event was not handled if (result) { - alert((options.summary !== undefined && options.summary !== "" ? options.summary + ": " : "") + options.body) + alert((options.summary !== undefined && options.summary !== "" ? options.summary + ": " : "") + options.body); + console.log("Use the web component vpu-notification to show fancy notifications."); } } -- GitLab