Skip to content

Commit

Permalink
Office365: Fix selector for "Folders" (#483)
Browse files Browse the repository at this point in the history
* Office365: Fix selector for "Folders"

* Update versioning

---------

Co-authored-by: Carl Hjerpe <[email protected]>
Co-authored-by: André Oliveira <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2024
1 parent e26e06c commit fadf8f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/office365-owa/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "office365-owa",
"name": "Office 365 Outlook",
"version": "1.7.1",
"version": "1.7.2",
"license": "MIT",
"aliases": [
"live.com",
Expand Down
2 changes: 1 addition & 1 deletion recipes/office365-owa/webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = (Ferdium, settings) => {
directUnreadCount =
settings.onlyShowFavoritesInUnreadCount === true
? collectCounts('div[role=tree]:nth-child(2)')
: collectCounts('div[role=tree]:nth-child(3)');
: collectCounts('div[role=tree]:nth-child(1)');

indirectUnreadCount = collectCounts('div[role=tree]:nth-child(4)'); // groups
}
Expand Down

0 comments on commit fadf8f0

Please sign in to comment.