mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-22 11:03:13 +00:00
Missed tree option setting in ET
This commit is contained in:
parent
8a38fd2343
commit
47f2526a8b
2 changed files with 5 additions and 3 deletions
|
@ -206,12 +206,13 @@
|
|||
"ET": {
|
||||
"Description": "@:Modules.ET.Name allows you to export detail information about the media in your libraries",
|
||||
"Name": "ExportTools",
|
||||
"ExportPostersArts": "Posters and Arts",
|
||||
"ExportPostersArts": "Posters and Art",
|
||||
"ExportPostersArtsTree": "tree",
|
||||
"ExportPostersArtsFlat": "flat",
|
||||
"ErrorServer": "No server",
|
||||
"Settings": {
|
||||
"ArtPostersOrigen": "Export Art and Posters in original size",
|
||||
"ExportPostersArtsTree": "Export Art and Posters in a file tree",
|
||||
"Settings": "Settings",
|
||||
"Description": "Here you can define the settings for @:Modules.ET.Name",
|
||||
"ArraySep": "Delimiter for multiple info in same field",
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
cbSelected: [],
|
||||
cbOptions: [
|
||||
{ text: i18n.t('Modules.ET.Settings.ArtPostersOrigen'), value: 'ArtPostersOrigen' },
|
||||
{ text: i18n.t('Modules.ET.Settings.ExportPostersArtsTree'), value: 'ExportPostersArtsTree' },
|
||||
{ text: i18n.t('Modules.ET.Settings.ExportToCSV'), value: 'ExpCSV' },
|
||||
{ text: i18n.t('Modules.ET.Settings.ExportToExcel'), value: 'ExpXLSX', disabled: true },
|
||||
{ text: i18n.t('Modules.ET.Settings.OrgTitleNull'), value: 'OrgTitleNull' },
|
||||
|
@ -95,7 +96,7 @@
|
|||
dialog.ShowMsg( i18n.t("Modules.ET.Name"), i18n.t("Common.Ok"), i18n.t("Common.AppName"), 'For this version, export to XLSX is currently disabled', 'info');
|
||||
},
|
||||
getDefaults(){
|
||||
const cbItems = ["ExpCSV","ExpXLSX", "OrgTitleNull", "SortTitleNull", "suggestedFileNoExtra", "suggestedUseOrigenTitle", "NoTimeStamp", "NoItemRange", "ArtPostersOrigen"];
|
||||
const cbItems = ["ExpCSV","ExpXLSX", "OrgTitleNull", "SortTitleNull", "suggestedFileNoExtra", "suggestedUseOrigenTitle", "NoTimeStamp", "NoItemRange", "ArtPostersOrigen", "ExportPostersArtsTree"];
|
||||
for(let i = 0; i < cbItems.length; i++){
|
||||
if (wtconfig.get("ET." + cbItems[i], false)){
|
||||
this.cbSelected.push(cbItems[i]);
|
||||
|
@ -110,7 +111,7 @@
|
|||
},
|
||||
filterTable(){
|
||||
this.$nextTick(()=>{console.log(this.cbSelected);})
|
||||
for( var cbItem of ["ExpCSV","ExpXLSX","OrgTitleNull", "SortTitleNull", "AutoXLSCol", "AutoXLSRow", "suggestedFileNoExtra", "suggestedUseOrigenTitle", "NoTimeStamp", "NoItemRange", "ArtPostersOrigen"]){
|
||||
for( var cbItem of ["ExpCSV","ExpXLSX","OrgTitleNull", "SortTitleNull", "AutoXLSCol", "AutoXLSRow", "suggestedFileNoExtra", "suggestedUseOrigenTitle", "NoTimeStamp", "NoItemRange", "ArtPostersOrigen", "ExportPostersArtsTree"]){
|
||||
wtconfig.set("ET." + cbItem, (this.cbSelected.includes(cbItem)))
|
||||
}
|
||||
this.PosterDimDisabled = this.cbSelected.includes('ArtPostersOrigen');
|
||||
|
|
Loading…
Reference in a new issue