diff --git a/argilla-frontend/v1/infrastructure/repositories/QuestionRepository.ts b/argilla-frontend/v1/infrastructure/repositories/QuestionRepository.ts index a6e47e0e1e..bbe72ec18f 100644 --- a/argilla-frontend/v1/infrastructure/repositories/QuestionRepository.ts +++ b/argilla-frontend/v1/infrastructure/repositories/QuestionRepository.ts @@ -80,7 +80,12 @@ export class QuestionRepository implements IQuestionRepository { return { title, description: newDescription, - settings: settings as any, + settings: { + ...(settings as any), + visible_options: settings.shouldShowVisibleOptions + ? settings.visible_options + : undefined, + }, }; } }