Dataset text notes change project while edit note correct processing
@@ -203,11 +203,13 @@ export default class ngbProjectInfoService {
this.blobUrl = this.$sce.trustAsResourceUrl(
URL.createObjectURL(new Blob([data], {type: 'text/html'}))
);
+ this._isCancel = true;
this.currentMode = this.projectInfoModeList.DESCRIPTION;
} else {
this._descriptionAvailable = false;
this._descriptionIsLoading = false;
this._descriptionAvailable = false;
+ this._isCancel = true;
this.currentMode = this.projectInfoModeList.SUMMARY;
}
this.dispatcher.emitSimpleEvent('project:description:url', this.blobUrl);
@@ -216,8 +218,9 @@ export default class ngbProjectInfoService {
this.currentProject = {};
this._newNote = {};
this._descriptionIsLoading = false;
- this.currentMode = this.projectInfoModeList.SUMMARY;
this._descriptionAvailable = false;
+ this._isCancel = true;
+ this.currentMode = this.projectInfoModeList.SUMMARY;
clearURLObject();
this.dispatcher.emitSimpleEvent('project:description:url', this.blobUrl);
}
