From de225ab633a215b2c146a610480a252ea674670a Mon Sep 17 00:00:00 2001 From: Brady Holt Date: Fri, 15 Sep 2023 15:55:08 -0500 Subject: Fix badge indicator for Asana recipe (#422) --- recipes/asana/package.json | 2 +- recipes/asana/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes') 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 @@ { "id": "asana", "name": "Asana", - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "config": { "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')); module.exports = Ferdium => { const getMessages = () => { const hasNotification = document.querySelectorAll( - '.SidebarTopNavLinks-notificationsButton--hasNewNotifications', + '.SidebarTopNavLinks-notificationsButtonIndicator', ); Ferdium.setBadge(hasNotification.length > 0 ? 1 : 0); }; -- cgit v1.2.3-54-g00ecf