From 5ad19c79dc5747d70080eba99c2d95487dac9521 Mon Sep 17 00:00:00 2001 From: Daniele Lenares Date: Wed, 6 May 2020 17:31:06 +0200 Subject: Bump Clubhouse to 1.0.1 --- uncompressed/clubhouse/package.json | 4 ++-- uncompressed/clubhouse/webview.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'uncompressed') diff --git a/uncompressed/clubhouse/package.json b/uncompressed/clubhouse/package.json index f21948a..ce49f10 100644 --- a/uncompressed/clubhouse/package.json +++ b/uncompressed/clubhouse/package.json @@ -1,7 +1,7 @@ { "id": "clubhouse", "name": "Clubhouse", - "version": "1.0.0", + "version": "1.0.1", "description": "Project Management for Software Teams", "main": "index.js", "author": "Daniele Lenares ", @@ -11,4 +11,4 @@ "serviceURL": "https://app.clubhouse.io/{teamId}/dashboard", "hasTeamId": true } -} \ No newline at end of file +} diff --git a/uncompressed/clubhouse/webview.js b/uncompressed/clubhouse/webview.js index b16ab05..51cd09d 100644 --- a/uncompressed/clubhouse/webview.js +++ b/uncompressed/clubhouse/webview.js @@ -1,9 +1,8 @@ module.exports = (Ferdi) => { function getMessages() { - let unread = 0; const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); if (hasNotifications) { - Ferdi.setBadge(1); + Ferdi.setBadge(0, 1); } } -- cgit v1.2.3-70-g09d2