File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
"@node-projects/gitgraph-js" : " ^2.1.0" ,
32
32
"@node-projects/lean-he-esm" : " ^3.3.0" ,
33
33
"@node-projects/node-html-parser-esm" : " ^6.2.0" ,
34
- "@node-projects/web-component-designer" : " ^0.1.211 " ,
34
+ "@node-projects/web-component-designer" : " ^0.1.212 " ,
35
35
"@node-projects/web-component-designer-codeview-monaco" : " ^0.1.27" ,
36
36
"@node-projects/web-component-designer-htmlparserservice-nodehtmlparser" : " ^0.1.11" ,
37
37
"@node-projects/web-component-designer-stylesheetservice-css-tools" : " ^0.1.9" ,
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export class CommandHandling {
116
116
} else {
117
117
this . handleCommand ( buttons , null ) ;
118
118
}
119
- const target : DocumentContainer = < DocumentContainer > this . dockManager . activeDocument . resolvedElementContent ;
119
+ const target : DocumentContainer = < DocumentContainer > this . dockManager . activeDocument ? .resolvedElementContent ;
120
120
if ( target ) {
121
121
const undoCount = target . instanceServiceContainer . undoService . undoCount ;
122
122
const redoCount = target . instanceServiceContainer . undoService . redoCount ;
You can’t perform that action at this time.
0 commit comments