Skip to content

Commit 91db139

Browse files
committed
fix storage glitch
1 parent 08bb423 commit 91db139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rubberduckvba.client/src/app/routes/indenter/indenter.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class IndenterComponent implements OnInit, IndenterOptionGroups {
3636
private load(): void {
3737
const localModel = localStorage.getItem('indenter.model');
3838
const localOptionGroups = localStorage.getItem('indenter.options');
39-
this.isLocalStorageOK = localModel != null && localOptionGroups != null;
39+
this.isLocalStorageOK = localModel != null || localOptionGroups != null;
4040

4141
if (!this.isLocalStorageOK) {
4242
this.getDefaults();

0 commit comments

Comments
 (0)