mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-22 19:13:19 +00:00
Merge pull request #237 from WebTools-NG/#234-Editing-a-custom-level
Fixed #234
This commit is contained in:
commit
fec4e6df7e
3 changed files with 11 additions and 8 deletions
|
@ -8,6 +8,8 @@
|
|||
* [#227 ET Export filename](https://github.com/WebTools-NG/WebTools-NG/pull/227)
|
||||
* [#231 Open LogDir folder failes](https://github.com/WebTools-NG/WebTools-NG/pull/231)
|
||||
* [#226 Exporting episodes](https://github.com/WebTools-NG/WebTools-NG/pull/226)
|
||||
* [#233 Electron errors after updating](https://github.com/WebTools-NG/WebTools-NG/pull/233)
|
||||
* [#234 Editing a custom level](https://github.com/WebTools-NG/WebTools-NG/pull/234)
|
||||
|
||||
## V0.1.13
|
||||
|
||||
|
|
|
@ -186,7 +186,8 @@
|
|||
"Cancel": "Cancel",
|
||||
"availFields": "Availible fields:",
|
||||
"customFields": "Custom fields:",
|
||||
"AlertSaved": "Custom level saved"
|
||||
"AlertSaved": "Custom level saved",
|
||||
"TT-ETEditLevel": "Here you select the level to create/delete/edit"
|
||||
|
||||
},
|
||||
"Description": "@:Modules.ET.Name allows you to export detail information about the media in your libraries",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<div> <!-- Select Custom Level -->
|
||||
<b-form-group id="etLevelGroup" v-bind:label="$t('Modules.ET.Custom.CustomLevel')" label-size="lg" label-class="font-weight-bold pt-0">
|
||||
<b-tooltip target="etLevelGroup" triggers="hover">
|
||||
{{ $t('Modules.ET.TT-ETLevel') }}
|
||||
{{ $t('Modules.ET.Custom.TT-ETEditLevel') }}
|
||||
</b-tooltip>
|
||||
<b-form-select
|
||||
class="form-control"
|
||||
|
@ -166,11 +166,11 @@
|
|||
return { name, order: index + 1, fixed: false };
|
||||
});
|
||||
log.debug(`Custom level ${this.selCustLevel} is set as: ${ JSON.stringify(this.resultList) }`);
|
||||
// Now remove already added from avail fields
|
||||
for (var idx in custLevel){
|
||||
for (var availidx in this.fieldList){
|
||||
// Now remove already added from avail fields
|
||||
for (var idx in custLevel){
|
||||
for (var availidx in this.fieldList){
|
||||
if (custLevel[idx] == this.fieldList[availidx].name)
|
||||
{
|
||||
{
|
||||
this.fieldList.splice(availidx,1)
|
||||
}
|
||||
}
|
||||
|
@ -341,9 +341,9 @@
|
|||
this.selCustLevel = value;
|
||||
}
|
||||
this.resultList = [];
|
||||
await this.genExportLevels();
|
||||
this.getCustomLevel();
|
||||
await this.genExportLevels();
|
||||
this.fieldList = et.getAllFields( {libType: this.selMediaType});
|
||||
this.getCustomLevel();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue