diff options
author | 2024-01-08 00:36:06 +0100 | |
---|---|---|
committer | 2024-01-07 23:36:06 +0000 | |
commit | fadf8f000bdcaf6ec8fcad5aa818fcca6fa1f331 (patch) | |
tree | 69ec3694452dab6e85c5b8e90da029ae1347cfde /recipes/office365-owa/webview.js | |
parent | update template PR (#469) (diff) | |
download | ferdium-recipes-fadf8f000bdcaf6ec8fcad5aa818fcca6fa1f331.tar.gz ferdium-recipes-fadf8f000bdcaf6ec8fcad5aa818fcca6fa1f331.tar.zst ferdium-recipes-fadf8f000bdcaf6ec8fcad5aa818fcca6fa1f331.zip |
Office365: Fix selector for "Folders" (#483)
* Office365: Fix selector for "Folders"
* Update versioning
---------
Co-authored-by: Carl Hjerpe <git@hjerpe.xyz>
Co-authored-by: André Oliveira <37463445+SpecialAro@users.noreply.github.com>
Diffstat (limited to 'recipes/office365-owa/webview.js')
-rw-r--r-- | recipes/office365-owa/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/office365-owa/webview.js b/recipes/office365-owa/webview.js index 0a0d2f3..8deff39 100644 --- a/recipes/office365-owa/webview.js +++ b/recipes/office365-owa/webview.js | |||
@@ -37,7 +37,7 @@ module.exports = (Ferdium, settings) => { | |||
37 | directUnreadCount = | 37 | directUnreadCount = |
38 | settings.onlyShowFavoritesInUnreadCount === true | 38 | settings.onlyShowFavoritesInUnreadCount === true |
39 | ? collectCounts('div[role=tree]:nth-child(2)') | 39 | ? collectCounts('div[role=tree]:nth-child(2)') |
40 | : collectCounts('div[role=tree]:nth-child(3)'); | 40 | : collectCounts('div[role=tree]:nth-child(1)'); |
41 | 41 | ||
42 | indirectUnreadCount = collectCounts('div[role=tree]:nth-child(4)'); // groups | 42 | indirectUnreadCount = collectCounts('div[role=tree]:nth-child(4)'); // groups |
43 | } | 43 | } |