[WIP] Добавил форму изменения состояния зубов
This commit is contained in:
@@ -57,8 +57,12 @@ export function getConfidantObject(data) {
|
||||
|
||||
export const getFiiledConditions = (condition) => {
|
||||
let filledConditions = [
|
||||
...Object.values(condition.crown).filter((val) => val),
|
||||
...Object.values(condition.root).filter((val) => val),
|
||||
...Object.values(condition.crown)
|
||||
.filter((val) => val.length)
|
||||
.flat(),
|
||||
...Object.values(condition.root)
|
||||
.filter((val) => val.length)
|
||||
.flat(),
|
||||
];
|
||||
return filledConditions;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user