CSR-2185 | Fix cms answers overwrite

Sideglass options were missing
This commit is contained in:
Scott Kiener 2024-08-28 15:00:19 -04:00
parent 3f142f6a08
commit ed8ce4e4cb

View file

@ -83,8 +83,13 @@ export default {
return filteredAnswers.map((ans) => { return filteredAnswers.map((ans) => {
const newName = ans.Name.includes("-") ? ans.Name.split("-")[1] : ans.Name; const newName = ans.Name.includes("-") ? ans.Name.split("-")[1] : ans.Name;
ans.Name = newName; return {
return ans; Name: newName,
AnswerImageUrl: ans.AnswerImageUrl,
ImageId: ans.ImageId,
SubText: ans.SubText,
Text: ans.Text,
};
}); });
}, },
shouldDisplayReplaceOptionsQuestion() { shouldDisplayReplaceOptionsQuestion() {