diff options
author | 2023-09-15 15:55:08 -0500 | |
---|---|---|
committer | 2023-09-15 22:55:08 +0200 | |
commit | de225ab633a215b2c146a610480a252ea674670a (patch) | |
tree | 7f8e3f03565a1df71084a12423caf17257e4433e /recipes/asana/webview.js | |
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/asana/webview.js')
-rw-r--r-- | recipes/asana/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 | }; |