Merge pull request #1957 from Safelite/feature/CSR-2185
CSR-2185 | Fix cms answers overwrite
This commit is contained in:
commit
210c4257fd
1 changed files with 7 additions and 2 deletions
|
|
@ -83,8 +83,13 @@ export default {
|
|||
|
||||
return filteredAnswers.map((ans) => {
|
||||
const newName = ans.Name.includes("-") ? ans.Name.split("-")[1] : ans.Name;
|
||||
ans.Name = newName;
|
||||
return ans;
|
||||
return {
|
||||
Name: newName,
|
||||
AnswerImageUrl: ans.AnswerImageUrl,
|
||||
ImageId: ans.ImageId,
|
||||
SubText: ans.SubText,
|
||||
Text: ans.Text,
|
||||
};
|
||||
});
|
||||
},
|
||||
shouldDisplayReplaceOptionsQuestion() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue