Merge pull request #221 from WebTools-NG/#219-ET-Custom-Lever-only-show-fields-when-editing-a-level

Fixed #219
This commit is contained in:
Tommy Mikkelsen 2021-01-17 22:23:34 +01:00 committed by GitHub
commit 0bb503de5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -7,6 +7,7 @@
* [#213 AutoUpdate Notification Ignore](https://github.com/WebTools-NG/WebTools-NG/issues/213)
* [#216 PMS Module and check boxes](https://github.com/WebTools-NG/WebTools-NG/issues/216)
* [#186 After creating a custom level, I need to select this custom level in the drop down](https://github.com/WebTools-NG/WebTools-NG/issues/186)
* [#219 ET Custom Lever only show fields when editing a level](https://github.com/WebTools-NG/WebTools-NG/issues/219)
## V0.1.11

View file

@ -220,8 +220,7 @@
options.push(option);
});
item['options']=options;
this.optionsLevels = options;
this.fieldList = et.getAllFields( {libType: this.selMediaType});
this.optionsLevels = options;
},
addNewLevel(){
// Hide Modal box
@ -296,7 +295,9 @@
// Triggers when lib type is changed
this.genExportLevels();
this.btnDeleteEnabled = false;
this.resultList = [];
this.resultList = [];
this.selCustLevel = "";
this.fieldList = [];
},
deleteCustomLevel() {
log.info(`User confirmed to delete custom level: ${this.selCustLevel}`);
@ -341,7 +342,8 @@
}
this.resultList = [];
await this.genExportLevels();
this.getCustomLevel();
this.getCustomLevel();
this.fieldList = et.getAllFields( {libType: this.selMediaType});
}
}
};