update a comment - I am wondering if I can get away from doing all of the this.draftXml stuff and change the name of the isNew variable to this.isChanged and clean it up a bit

This commit is contained in:
Kelly McDonald 2021-01-21 10:49:25 -05:00
parent 1abb796637
commit 65e89f1cac
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ export class ModelerComponent implements AfterViewInit {
this.importError = error;
this.importWarnings = warnings;
// if this is a new file then we want to enable the save button
// otherwise not
// if this is a new file then we force a change to the file
if (this.isNew ) {
this.draftXml = this.xml + ' ';
this.isNew = false;