Merge pull request #377 from WebTools-NG/#373-Remove-setting-from-ExportTools-Settings

Fixed #373
This commit is contained in:
Tommy Mikkelsen 2021-05-29 00:04:51 +02:00 committed by GitHub
commit 4b755ee805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9728 additions and 7905 deletions

View file

@ -3,6 +3,7 @@
## V0.3.10
* [#366 if possible allow lan only connections](https://github.com/WebTools-NG/WebTools-NG/issues/366)
* [#373 Remove setting from ExportTools Settings](https://github.com/WebTools-NG/WebTools-NG/issues/373)
## V0.3.9

17617
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -15,9 +15,6 @@
<b-input-group id="ColumnSepGrp" :prepend="$t('Modules.ET.Settings.ColumnSep')" class="mt-3">
<b-form-input id="ColumnSep" name="ColumnSep" type="text" class="form-control" v-model="ColumnSep" :disabled=false :maxlength=1 @change="setColumnSep"></b-form-input>
</b-input-group>
<b-input-group id="TimeOutGrp" :prepend="$t('Modules.ET.Settings.TimeOut')" class="mt-3">
<b-form-input id="TimeOut" name="TimeOut" type="text" class="form-control" v-model="TimeOut" :disabled=false :maxlength=2 @change="setTimeOut()"></b-form-input>
</b-input-group>
<b-input-group id="PosterGrp" :prepend="$t('Modules.ET.Settings.Posters_Dimensions')" class="mt-3">
<b-tooltip target="PosterGrp" triggers="hover">
{{ $t('Modules.ET.Settings.Posters_Dimensions_TT') }}
@ -68,23 +65,20 @@
ColumnSep: '',
PosterDim: wtconfig.get('ET.Posters_Dimensions', '75*75'),
ArtDim: wtconfig.get('ET.Art_Dimensions', '75*75'),
TimeOut: wtconfig.get('PMS.TimeOut'),
cbSelected: [],
cbOptions: [
{ text: i18n.t('Modules.ET.Settings.ExportToExcel'), value: 'ExpExcel' },
{ text: i18n.t('Modules.ET.Settings.OrgTitleNull'), value: 'OrgTitleNull' },
{ text: i18n.t('Modules.ET.Settings.SortTitleNull'), value: 'SortTitleNull' },
{ text: i18n.t('Modules.ET.Settings.AutoXLSCol'), value: 'AutoXLSCol', disabled: true },
{ text: i18n.t('Modules.ET.Settings.AutoXLSRow'), value: 'AutoXLSRow', disabled: true }
{ text: i18n.t('Modules.ET.Settings.SortTitleNull'), value: 'SortTitleNull' }
]
};
},
methods: {
getcbDefaults(){
const cbItems = ["ExpExcel", "OrgTitleNull", "SortTitleNull", "AutoXLSCol", "AutoXLSRow"];
const cbItems = ["ExpExcel", "OrgTitleNull", "SortTitleNull"];
for(let i = 0; i < cbItems.length; i++){
if (wtconfig.get("ET." + cbItems[i], false)){
this.cbSelected.push(cbItems[i])
this.cbSelected.push(cbItems[i]);
}
}
},
@ -127,9 +121,6 @@
setNotAvailIndicator: function(){
wtconfig.set('ET.NotAvail', this.NotAvailIndicator)
},
setTimeOut: function(){
wtconfig.set('PMS.TimeOut', this.TimeOut)
},
setPosters_Dimensions: function(){
wtconfig.set('ET.Posters_Dimensions', this.PosterDim);
},