mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
template literals correction
This commit is contained in:
parent
d6cfac0122
commit
838578657d
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue