diff options
author | 2023-09-15 15:55:08 -0500 | |
---|---|---|
committer | 2023-09-15 22:55:08 +0200 | |
commit | de225ab633a215b2c146a610480a252ea674670a (patch) | |
tree | 7f8e3f03565a1df71084a12423caf17257e4433e /recipes | |
parent | Remove references to hipchat (diff) | |
download | ferdium-recipes-de225ab633a215b2c146a610480a252ea674670a.tar.gz ferdium-recipes-de225ab633a215b2c146a610480a252ea674670a.tar.zst ferdium-recipes-de225ab633a215b2c146a610480a252ea674670a.zip |
Fix badge indicator for Asana recipe (#422)
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/asana/package.json | 2 | ||||
-rw-r--r-- | recipes/asana/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/asana/package.json b/recipes/asana/package.json index 70b42b5..031ecf2 100644 --- a/recipes/asana/package.json +++ b/recipes/asana/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "asana", | 2 | "id": "asana", |
3 | "name": "Asana", | 3 | "name": "Asana", |
4 | "version": "1.3.0", | 4 | "version": "1.3.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.asana.com", | 7 | "serviceURL": "https://app.asana.com", |
diff --git a/recipes/asana/webview.js b/recipes/asana/webview.js index b1938ad..a77e88c 100644 --- a/recipes/asana/webview.js +++ b/recipes/asana/webview.js | |||
@@ -7,7 +7,7 @@ const _path = _interopRequireDefault(require('path')); | |||
7 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
8 | const getMessages = () => { | 8 | const getMessages = () => { |
9 | const hasNotification = document.querySelectorAll( | 9 | const hasNotification = document.querySelectorAll( |
10 | '.SidebarTopNavLinks-notificationsButton--hasNewNotifications', | 10 | '.SidebarTopNavLinks-notificationsButtonIndicator', |
11 | ); | 11 | ); |
12 | Ferdium.setBadge(hasNotification.length > 0 ? 1 : 0); | 12 | Ferdium.setBadge(hasNotification.length > 0 ? 1 : 0); |
13 | }; | 13 | }; |