WIP filters

This commit is contained in:
Ximi1970
2020-05-12 20:09:05 +02:00
parent b8a40ee159
commit 9c72b6bd06
2 changed files with 27 additions and 6 deletions

View File

@@ -411,12 +411,15 @@ async function start() {
// Get all accounts
SysTrayX.Messaging.accounts = await browser.accounts.list();
// Get the filters and convert old filters
const converted = await getFilters();
if( converted ) {
console.log("Filters converted to new format");
}
// Get the extended filters
SysTrayX.Messaging.filtersExt = await getFiltersExt();
// Get the filters
SysTrayX.Messaging.filters = await getFilters();
// Get the count type
SysTrayX.Messaging.countType = await getCountType();