Merge branch 'dev' into 'main'
смена типа вопроса не уничтожает инфо корня о том что он корень See merge request frontend/squiz!96
This commit is contained in:
commit
316da510f1
@ -139,7 +139,7 @@ export const ChooseAnswerModal = ({
|
||||
getChildren(question);
|
||||
|
||||
updateQuestion(question.id, q => {
|
||||
q.content.rule.parentId = "";
|
||||
q.content.rule.parentId === "root" ? "root" : "";
|
||||
q.content.rule.main = [];
|
||||
q.content.rule.children = [];
|
||||
q.content.rule.default = "";
|
||||
|
Loading…
Reference in New Issue
Block a user