diff options
Diffstat (limited to 'recipes/clickup')
-rw-r--r-- | recipes/clickup/package.json | 2 | ||||
-rw-r--r-- | recipes/clickup/webview.js | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/recipes/clickup/package.json b/recipes/clickup/package.json index cebcd93..4a33492 100644 --- a/recipes/clickup/package.json +++ b/recipes/clickup/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "clickup", | 2 | "id": "clickup", |
3 | "name": "ClickUp", | 3 | "name": "ClickUp", |
4 | "version": "2.2.0", | 4 | "version": "2.2.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.clickup.com", | 7 | "serviceURL": "https://app.clickup.com", |
diff --git a/recipes/clickup/webview.js b/recipes/clickup/webview.js index 420ca5a..8dc8d26 100644 --- a/recipes/clickup/webview.js +++ b/recipes/clickup/webview.js | |||
@@ -1,6 +1,5 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = () => { |
3 | const elements = document.querySelectorAll('.unreadCount'); | ||
4 | const unread = document.querySelector('.cu-notification-alert__dot'); | 3 | const unread = document.querySelector('.cu-notification-alert__dot'); |
5 | Ferdi.setBadge(unread ? 1 : 0); | 4 | Ferdi.setBadge(unread ? 1 : 0); |
6 | }; | 5 | }; |