diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/kimai-cloud | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
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 |