File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,8 @@ export class OpenSCD extends LitElement {
394394
395395 this . addEventListener ( 'oscd-open' , event => this . handleOpenDoc ( event ) ) ;
396396 this . addEventListener ( 'oscd-edit-v2' , ( event : EditEventV2 ) => {
397- this . xmlEditor . commit ( event . detail . edit ) ;
397+ const { edit, title, squash } = event . detail ;
398+ this . xmlEditor . commit ( edit , { title, squash } ) ;
398399 } ) ;
399400
400401 // Catch all edits (from commits AND events) and trigger an update
Original file line number Diff line number Diff line change 4343 "start:bundle" : " npm run bundle && concurrently -k -r \" rollup -c rollup.config.js --watch\" \" wds --watch\" " ,
4444 "test" : " npm run build && playwright install && wtr --coverage" ,
4545 "test:unit" : " npm run build && playwright install && wtr --coverage --group default" ,
46- "test:visual" : " npm run build && playwright install && wtr --group visual" ,
4746 "test:watch" : " npm run build && concurrently -k -r \" tsc -b --watch --preserveWatchOutput\" \" wtr --watch --coverage\" " ,
4847 "test:unit:watch" : " npm run build && concurrently -k -r \" tsc -b --watch --preserveWatchOutput\" \" wtr --watch --coverage --group default\" " ,
48+ "test:visual" : " npm run build && playwright install && wtr --group visual" ,
4949 "test:update" : " npm run build && wtr --group visual --update-visual-baseline" ,
5050 "analyze" : " cem analyze --litelement" ,
5151 "doc" : " npm run analyze -- --exclude dist && typedoc --out dist/doc oscd-shell.ts foundation.ts" ,
You can’t perform that action at this time.
0 commit comments