Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Oct 27, 2024
1 parent dc99bd1 commit 3590a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/src/lib/models/Answer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Field>('fieldId', (fieldId: string) => {
return app.store.getById('masquerade-field', fieldId);
});
Expand Down

0 comments on commit 3590a7b

Please sign in to comment.