From 7dfb14fa0fbb98e05fed51467b7dd5fda17719b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 17 Mar 2020 14:44:05 +0100 Subject: [PATCH 1/2] Added link to dagens in notifcation --- api/update.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/update.js b/api/update.js index f980eb3..8726099 100644 --- a/api/update.js +++ b/api/update.js @@ -45,7 +45,8 @@ router.route("/log/wines").post(mustBeAuthenticated, async (req, res) => { let subscription = subs[i]; //get subscription from your databse here. const message = JSON.stringify({ message: "Dagens vin er lagt til, se den på lottis.vin/dagens!", - title: "Ny vin!" + title: "Ny vin!", + link: "/#/dagens" }); sub.sendNotification(subscription, message); } From 636d6ccad24eb2f535f89c033d3a10d7c7b76e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 17 Mar 2020 15:24:28 +0100 Subject: [PATCH 2/2] Prettier timer and todays wines --- src/components/TodaysPage.vue | 19 +++++-------------- src/ui/Banner.vue | 26 +++++++++++++++++++------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/components/TodaysPage.vue b/src/components/TodaysPage.vue index e24dac5..d79b037 100644 --- a/src/components/TodaysPage.vue +++ b/src/components/TodaysPage.vue @@ -3,18 +3,7 @@ @@ -23,10 +12,12 @@