Fixes bug on Dataset edit, wrongly showing the update version button.
This commit is contained in:
parent
9d4c3fca60
commit
c78e24782f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue