indend corrections

This commit is contained in:
Ignatz 2018-05-18 11:13:01 +02:00
parent 3bf4f3ef40
commit ef99e6a6b1
3 changed files with 11 additions and 11 deletions

View file

@ -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',
});

View file

@ -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) {