diff --git a/js/src/lib/models/Answer.ts b/js/src/lib/models/Answer.ts index d2f90cf..1c9d034 100644 --- a/js/src/lib/models/Answer.ts +++ b/js/src/lib/models/Answer.ts @@ -7,6 +7,7 @@ import type Field from './Field'; export default class Answer extends Model { content = Model.attribute('content'); fieldId = Model.attribute('fieldId'); + // @ts-ignore field = computed('fieldId', (fieldId: string) => { return app.store.getById('masquerade-field', fieldId); });