Fixes bug on Dataset edit, wrongly showing the update version button.

This commit is contained in:
gkolokythas 2019-04-25 18:17:29 +03:00
parent 9d4c3fca60
commit c78e24782f
1 changed files with 2 additions and 1 deletions

View File

@ -572,7 +572,8 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
}
needsUpdate() {
if (this.datasetWizardModel.isProfileLatestVersion) {
if (this.datasetWizardModel.isProfileLatestVersion || (this.datasetWizardModel.status === 1)
|| (this.datasetWizardModel.isProfileLatestVersion == undefined && this.datasetWizardModel.status == undefined)) {
return false;
}
else {