Skip to content

Commit

Permalink
fix: Ignore folders without an account
Browse files Browse the repository at this point in the history
  • Loading branch information
kewisch committed Aug 10, 2024
1 parent 717a7b5 commit e5490f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "quickmove",
"description": "Quick Folder Move",
"version": "2.9.1",
"version": "2.9.2",
"private": true,
"author": "Philipp Kewisch <[email protected]>",
"license": "MPL-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/common/foldernode.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class FolderNode extends BaseNode {
let folderNodes = {};

for (let folder of folders) {
let folderNode = accountMap[folder.accountId].lookup(folder.path);
let folderNode = accountMap[folder.accountId]?.lookup(folder.path);
if (folderNode) {
if (!(folder.accountId in folderNodes)) {
folderNodes[folder.accountId] = [];
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "2.9.1",
"version": "2.9.2",
"default_locale": "en",
"author": "Philipp Kewisch",
"browser_specific_settings": {
Expand Down

0 comments on commit e5490f3

Please sign in to comment.