Skip to content

Commit d904fa9

Browse files
Avoid errors on the bank page when there is no API key.
1 parent c97c89f commit d904fa9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

extension/changelog.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
{ "message": "Link market icons to the new item market.", "contributor": "DeKleineKobini" },
2727
{ "message": "Link market icons for missing sets to the new item market.", "contributor": "DeKleineKobini" },
2828
{ "message": "Link popup items to the new item market.", "contributor": "DeKleineKobini" },
29-
{ "message": "Properly show links when using refills through faction quick items.", "contributor": "DeKleineKobini" }
29+
{ "message": "Properly show links when using refills through faction quick items.", "contributor": "DeKleineKobini" },
30+
{ "message": "Avoid errors on the bank page when there is no API key.", "contributor": "DeKleineKobini" }
3031
],
3132
"changes": [
3233
{

extension/scripts/features/bank-investment-due-time/ttBankInvestmentDueTime.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656

5757
function teardown() {
58-
bankInvestmentFacade.dispose();
58+
bankInvestmentFacade?.dispose();
5959
bankInvestmentFacade = undefined;
6060
}
6161
})();

extension/scripts/features/bank-investment-info/ttBankInvestmentInfo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207

208208
function teardown() {
209-
bankInvestmentInfoContainer.dispose();
209+
bankInvestmentInfoContainer?.dispose();
210210
bankInvestmentInfoContainer = undefined;
211211
}
212212
})();

0 commit comments

Comments
 (0)