diff options
Diffstat (limited to 'recipes/kimai-cloud')
-rw-r--r-- | recipes/kimai-cloud/webview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/kimai-cloud/webview.js b/recipes/kimai-cloud/webview.js index 8baf008..fd12ce8 100644 --- a/recipes/kimai-cloud/webview.js +++ b/recipes/kimai-cloud/webview.js | |||
@@ -3,9 +3,9 @@ module.exports = (Franz) => { | |||
3 | let count = 0; | 3 | let count = 0; |
4 | 4 | ||
5 | // get amount of running timesheets | 5 | // get amount of running timesheets |
6 | let label = document.querySelector('.main-header .navbar .dropdown.messages-menu .ticktac span.label'); | 6 | const label = document.querySelector('.main-header .navbar .dropdown.messages-menu .ticktac span.label'); |
7 | if (label !== undefined) { | 7 | if (label !== undefined) { |
8 | count = label.textContent; | 8 | count = label.textContent; |
9 | } | 9 | } |
10 | 10 | ||
11 | // set Franz badge | 11 | // set Franz badge |