From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/clockify/package.json | 2 +- recipes/clockify/webview.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'recipes/clockify') diff --git a/recipes/clockify/package.json b/recipes/clockify/package.json index c48e32b..6150326 100644 --- a/recipes/clockify/package.json +++ b/recipes/clockify/package.json @@ -1,7 +1,7 @@ { "id": "clockify", "name": "Clockify", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "config": { "serviceURL": "https://clockify.me/tracker", diff --git a/recipes/clockify/webview.js b/recipes/clockify/webview.js index 252b3e3..9fbb613 100644 --- a/recipes/clockify/webview.js +++ b/recipes/clockify/webview.js @@ -1,7 +1,6 @@ module.exports = Ferdi => { - const getMessages = function getMessages() { + const getMessages = () => { const notifications = document.querySelectorAll('.notification--number'); - Ferdi.setBadge(0, notifications.length >= 1 ? 1 : 0); }; -- cgit v1.2.3-70-g09d2