diff options
author | 2021-08-27 18:13:24 +0530 | |
---|---|---|
committer | 2021-08-27 18:13:24 +0530 | |
commit | 155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch) | |
tree | d144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/clickup | |
parent | docs: fixed template file for creating recipe. (diff) | |
download | ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip |
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time.
- Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/clickup')
-rw-r--r-- | recipes/clickup/index.js | 2 | ||||
-rw-r--r-- | recipes/clickup/package.json | 2 | ||||
-rw-r--r-- | recipes/clickup/webview.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/clickup/index.js b/recipes/clickup/index.js index 258da41..23607bd 100644 --- a/recipes/clickup/index.js +++ b/recipes/clickup/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Franz => Franz; | module.exports = Ferdi => Ferdi; | ||
diff --git a/recipes/clickup/package.json b/recipes/clickup/package.json index 3438cd9..cebcd93 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.1.2", | 4 | "version": "2.2.0", |
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 64bae62..420ca5a 100644 --- a/recipes/clickup/webview.js +++ b/recipes/clickup/webview.js | |||
@@ -1,9 +1,9 @@ | |||
1 | module.exports = Franz => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
3 | const elements = document.querySelectorAll('.unreadCount'); | 3 | const elements = document.querySelectorAll('.unreadCount'); |
4 | const unread = document.querySelector('.cu-notification-alert__dot'); | 4 | const unread = document.querySelector('.cu-notification-alert__dot'); |
5 | Franz.setBadge(unread ? 1 : 0); | 5 | Ferdi.setBadge(unread ? 1 : 0); |
6 | }; | 6 | }; |
7 | 7 | ||
8 | Franz.loop(getMessages); | 8 | Ferdi.loop(getMessages); |
9 | }; | 9 | }; |