mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 23:19:26 +08:00
fix: gantt expansion exception
This commit is contained in:
parent
361e9da55e
commit
19cbda4b0c
@ -93,7 +93,7 @@ export const useGanttBlockProps = () => {
|
||||
if (!ctx?.service?.loading) {
|
||||
const data = formatData(ctx.service.data?.data, ctx.fieldNames);
|
||||
const mergeTasks = data.map((v) => {
|
||||
const task = tasks.find((k) => k.id === v.id) || { hideChildren: true };
|
||||
const task = ctx.field.data.find((k) => k.id === v.id) || { hideChildren: true };
|
||||
return {
|
||||
...v,
|
||||
hideChildren: task?.hideChildren,
|
||||
|
Loading…
x
Reference in New Issue
Block a user