mirror of
https://github.com/wekan/wekan.git
synced 2026-03-11 08:02:33 +01:00
code cosmetics
This commit is contained in:
parent
b1c26e6f64
commit
37607f72b2
1 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||||
: "",
|
: '',
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue