Remove identityState when deleting containers

Fixes #1140
This commit is contained in:
stoically
2022-06-23 01:45:06 +02:00
parent 66b90006bd
commit 76d5b36563
2 changed files with 28 additions and 0 deletions
+1
View File
@@ -102,6 +102,7 @@ window.assignManager = {
async deleteContainer(userContextId) {
const sitesByContainer = await this.getAssignedSites(userContextId);
this.area.remove(Object.keys(sitesByContainer));
identityState.storageArea.remove(backgroundLogic.cookieStoreId(userContextId));
},
async getAssignedSites(userContextId = null) {