diff options
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/cards/cardCustomFields.js | 6 | ||||
-rw-r--r-- | client/components/sidebar/sidebarCustomFields.js | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js index 019fcab5..aa50caec 100644 --- a/client/components/cards/cardCustomFields.js +++ b/client/components/cards/cardCustomFields.js @@ -95,9 +95,9 @@ CardCustomField.register('cardCustomField'); } showDate() { - // this will start working once mquandalle:moment - // is updated to at least moment.js 2.10.5 - // until then, the date is displayed in the "L" format + // this will start working once mquandalle:moment + // is updated to at least moment.js 2.10.5 + // until then, the date is displayed in the "L" format return this.date.get().calendar(null, { sameElse: 'llll', }); diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index d74a5919..e56d744e 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -27,11 +27,11 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ types() { const currentType = this.data().type; return this._types. - map((type) => {return { - value: type, - name: TAPi18n.__(`custom-field-${type}`), - selected: type === currentType, - };}); + map((type) => {return { + value: type, + name: TAPi18n.__(`custom-field-${type}`), + selected: type === currentType, + };}); }, isTypeNotSelected(type) { |