diff options
author | Daniele Lenares <daniele.lenares@gmail.com> | 2020-05-06 17:31:06 +0200 |
---|---|---|
committer | Daniele Lenares <daniele.lenares@gmail.com> | 2020-05-06 17:31:06 +0200 |
commit | 5ad19c79dc5747d70080eba99c2d95487dac9521 (patch) | |
tree | e5f2437522067cae618c621a60bd60441f0deabc | |
parent | Add Clubhouse recipe (diff) | |
download | ferdium-recipes-5ad19c79dc5747d70080eba99c2d95487dac9521.tar.gz ferdium-recipes-5ad19c79dc5747d70080eba99c2d95487dac9521.tar.zst ferdium-recipes-5ad19c79dc5747d70080eba99c2d95487dac9521.zip |
Bump Clubhouse to 1.0.1
-rw-r--r-- | all.json | 2 | ||||
-rw-r--r-- | archives/clubhouse.tar.gz | bin | 69281 -> 69267 bytes | |||
-rw-r--r-- | uncompressed/clubhouse/package.json | 4 | ||||
-rw-r--r-- | uncompressed/clubhouse/webview.js | 3 |
4 files changed, 4 insertions, 5 deletions
@@ -92,7 +92,7 @@ | |||
92 | "featured": false, | 92 | "featured": false, |
93 | "id": "clubhouse", | 93 | "id": "clubhouse", |
94 | "name": "Clubhouse", | 94 | "name": "Clubhouse", |
95 | "version": "1.0.0", | 95 | "version": "1.0.1", |
96 | "icons": { | 96 | "icons": { |
97 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/clubhouse/icon.png", | 97 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/clubhouse/icon.png", |
98 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/clubhouse/icon.svg" | 98 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/clubhouse/icon.svg" |
diff --git a/archives/clubhouse.tar.gz b/archives/clubhouse.tar.gz index 8b44a8c..53f91f3 100644 --- a/archives/clubhouse.tar.gz +++ b/archives/clubhouse.tar.gz | |||
Binary files differ | |||
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 | ||