code cosmetics

This commit is contained in:
tod31 2021-04-08 11:01:32 +02:00
parent b1c26e6f64
commit 37607f72b2

View file

@ -16,7 +16,15 @@ BlazeComponent.extendComponent({
}).register('customFieldsSidebar'); }).register('customFieldsSidebar');
const CreateCustomFieldPopup = BlazeComponent.extendComponent({ const CreateCustomFieldPopup = BlazeComponent.extendComponent({
_types: ['text', 'number', 'date', 'dropdown', 'currency', 'checkbox', 'stringtemplate'], _types: [
'text',
'number',
'date',
'dropdown',
'currency',
'checkbox',
'stringtemplate',
],
_currencyList: [ _currencyList: [
{ {
@ -81,7 +89,7 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({
this.stringtemplateFormat = new ReactiveVar( this.stringtemplateFormat = new ReactiveVar(
this.data().settings && this.data().settings.stringtemplateFormat this.data().settings && this.data().settings.stringtemplateFormat
? this.data().settings.stringtemplateFormat ? this.data().settings.stringtemplateFormat
: "", : '',
); );
}, },