Skip to content

Commit 0ff69b8

Browse files
committed
frontend BUGFIX variable initiation in schemas list
1 parent cc0db76 commit 0ff69b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/yang/schemas.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class SchemasService {
1515
this.loadSchemas();
1616
this.activeSchema = localStorage.getItem('activeSchema');
1717
if (!this.schemas) {
18-
this.schemas = null;
18+
this.schemas = [];
1919
}
2020
if (!this.activeSchema) {
2121
this.activeSchema = "";

0 commit comments

Comments
 (0)