소스 검색

call upgradeConfig after resetting options

Gildas 7 년 전
부모
커밋
5b57bc8749
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      extension/core/bg/config.js

+ 1 - 0
extension/core/bg/config.js

@@ -134,6 +134,7 @@ singlefile.config = (() => {
 		async reset() {
 			await pendingUpgradePromise;
 			await browser.storage.local.clear();
+			await upgradeConfig({});
 		}
 	};