diff options
Diffstat (limited to 'uncompressed/clubhouse')
-rw-r--r-- | uncompressed/clubhouse/package.json | 4 | ||||
-rw-r--r-- | uncompressed/clubhouse/webview.js | 3 |
2 files changed, 3 insertions, 4 deletions
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 @@ | |||
1 | { | 1 | { |
2 | "id": "clubhouse", | 2 | "id": "clubhouse", |
3 | "name": "Clubhouse", | 3 | "name": "Clubhouse", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "description": "Project Management for Software Teams", | 5 | "description": "Project Management for Software Teams", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Daniele Lenares <daniele.lenares@gmail.com>", | 7 | "author": "Daniele Lenares <daniele.lenares@gmail.com>", |
@@ -11,4 +11,4 @@ | |||
11 | "serviceURL": "https://app.clubhouse.io/{teamId}/dashboard", | 11 | "serviceURL": "https://app.clubhouse.io/{teamId}/dashboard", |
12 | "hasTeamId": true | 12 | "hasTeamId": true |
13 | } | 13 | } |
14 | } \ No newline at end of file | 14 | } |
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 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
2 | function getMessages() { | 2 | function getMessages() { |
3 | let unread = 0; | ||
4 | const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); | 3 | const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); |
5 | if (hasNotifications) { | 4 | if (hasNotifications) { |
6 | Ferdi.setBadge(1); | 5 | Ferdi.setBadge(0, 1); |
7 | } | 6 | } |
8 | } | 7 | } |
9 | 8 | ||