aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/asana
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
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')
-rw-r--r--recipes/asana/package.json2
-rw-r--r--recipes/asana/webview.js2
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'));
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 };