review fedback

This commit is contained in:
Kendall Werts
2020-01-23 13:47:19 -06:00
parent 5b8cfa14ae
commit 0447e54b1c
5 changed files with 33 additions and 36 deletions
+4 -2
View File
@@ -78,7 +78,9 @@ const assignManager = {
[siteStoreKey]: data
});
const syncEnabled = await this.getSyncEnabled();
if (backup && syncEnabled) await sync.storageArea.backup({undeleteSiteStoreKey: siteStoreKey});
if (backup && syncEnabled) {
await sync.storageArea.backup({undeleteSiteStoreKey: siteStoreKey});
}
return;
},
@@ -135,7 +137,7 @@ const assignManager = {
localIdentity => localIdentity.cookieStoreId === cookieStoreId
);
if (!match) {
await this.remove(configKey.replace(/^siteContainerMap@@_/, "https://"));
await this.remove(configKey);
continue;
}
const updatedSiteAssignment = macConfigs[configKey];