@@ -24,7 +24,7 @@ Template.cardCustomFieldsPopup.events({
const CardCustomField = BlazeComponent.extendComponent({
getTemplate() {
- return 'cardCustomField-${this.data().definition.type}';
+ return `cardCustomField-${this.data().definition.type}`;
},
onCreated() {
@@ -29,7 +29,7 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({
return this._types.
map((type) => {return {
value: type,
- name: TAPi18n.__('custom-field-${type}'),
+ name: TAPi18n.__(`custom-field-${type}`),
selected: type === currentType,
};});
@@ -332,7 +332,7 @@ Cards.mutations({
const index = this.customFieldIndex(customFieldId);
if (index > -1) {
const update = {$set: {}};
- update.$set['customFields.${index}.value'] = value;
+ update.$set[`customFields.${index}.value`] = value;
return update;
}
// TODO