Skip to content

Commit aca22f9

Browse files
NejcZdovcfjozsef
authored andcommitted
fix: First macro opening (#123)
Closes #121
1 parent f934774 commit aca22f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/macro/macro.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class MacroComponent implements OnDestroy {
110110
}
111111

112112
private hideActiveEditor() {
113-
if (this.activeEdit) {
113+
if (this.activeEdit !== undefined) {
114114
this.macroItems.toArray()[this.activeEdit].cancelEdit();
115115
}
116116
}

0 commit comments

Comments
 (0)