1👍
this.calls = calls.data.result.calls
.map((obj, i) => ({
id: obj.id,
createAt: moment.parseZone(obj.created_at).format('YYYY-MM-DD hh:mm a'),
startTime: (obj.start_time) ? moment.parseZone(obj.start_time).format('YYYY-MM-DD hh:mm a') : '',
username: obj.User.username.toUpperCase(),
expertName: obj.Expert.expertName.toUpperCase(),
status: CALL_STATUS[obj.status],
detail: (obj.status !== 'complete' && obj.status !== 'cancel') ? '<v-btn v-on:click="callSomeFunction(id)">Change Status</v-btn>' :'', // Error is on this line
}));
try to add ” for your html
Source:stackexchange.com