diff --git a/webext/js/defaults.js b/webext/js/defaults.js index d3028dd..1e9e61c 100644 --- a/webext/js/defaults.js +++ b/webext/js/defaults.js @@ -212,6 +212,7 @@ function checkFolderFilters(filters) { if (filter.folder.version === undefined) { folder.version = SysTrayX.version; folder.path = found[0].path; + folder.name = found[0].path.split("/").pop(); filtersChanged = true; } diff --git a/webext/js/options_accounts.js b/webext/js/options_accounts.js index 4f95e50..74620ca 100644 --- a/webext/js/options_accounts.js +++ b/webext/js/options_accounts.js @@ -197,7 +197,7 @@ SysTrayX.Accounts = { accountName: element.accountName, accountId: element.accountId, path: element.path, - name: element.name, + name: element.path.split("/").pop(), version: SysTrayX.version, }) );