We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae4677 commit ae1698eCopy full SHA for ae1698e
src/app/ui/presets.view.ts
@@ -73,7 +73,7 @@ export class PresetsView {
73
}
74
75
populateDropdownOptions (): void {
76
- const currentPreset = state.networkPreset || 'allOn';
+ const currentPreset = state?.networkPreset || 'allOn';
77
Object.keys (presets).forEach ((presetName) => {
78
const option = document.createElement ('option');
79
option.value = presetName;
0 commit comments