diff options
Diffstat (limited to 'recipes/monday')
-rw-r--r-- | recipes/monday/package.json | 2 | ||||
-rwxr-xr-x | recipes/monday/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/monday/package.json b/recipes/monday/package.json index 35556a8..5b6af2f 100644 --- a/recipes/monday/package.json +++ b/recipes/monday/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "monday", | 2 | "id": "monday", |
3 | "name": "Monday", | 3 | "name": "Monday", |
4 | "version": "1.1.0", | 4 | "version": "1.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://{teamId}.monday.com", | 7 | "serviceURL": "https://{teamId}.monday.com", |
diff --git a/recipes/monday/webview.js b/recipes/monday/webview.js index bdd73ca..924c071 100755 --- a/recipes/monday/webview.js +++ b/recipes/monday/webview.js | |||
@@ -9,7 +9,7 @@ module.exports = Ferdi => { | |||
9 | const counters = document.querySelectorAll('.surface-control-component .item-counter, .surface-control-component .view-item-counter'); | 9 | const counters = document.querySelectorAll('.surface-control-component .item-counter, .surface-control-component .view-item-counter'); |
10 | 10 | ||
11 | for (let i = 0; i < counters.length; i++) { | 11 | for (let i = 0; i < counters.length; i++) { |
12 | count += parseInt(counters[i].textContent); | 12 | count += Ferdi.safeParseInt(counters[i].textContent); |
13 | } | 13 | } |
14 | 14 | ||
15 | Ferdi.setBadge(count); | 15 | Ferdi.setBadge(count); |