aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/asana/webview.js
diff options
context:
space:
mode:
authorLibravatar Brady Holt <brady.holt@gmail.com>2023-09-15 15:55:08 -0500
committerLibravatar GitHub <noreply@github.com>2023-09-15 22:55:08 +0200
commitde225ab633a215b2c146a610480a252ea674670a (patch)
tree7f8e3f03565a1df71084a12423caf17257e4433e /recipes/asana/webview.js
parentRemove references to hipchat (diff)
downloadferdium-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.js2
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'));
7module.exports = Ferdium => { 7module.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 };