fix: data scope not effect in gantt (#1716)
This commit is contained in:
parent
eeb07112c7
commit
f5df009465
@ -71,9 +71,10 @@ const InternalGanttBlockProvider = (props) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const GanttBlockProvider = (props) => {
|
export const GanttBlockProvider = (props) => {
|
||||||
|
const params = { filter: props.params.filter, tree: true, paginate: false, sort: props.fieldNames.start };
|
||||||
return (
|
return (
|
||||||
<BlockProvider {...props} params={{ tree: true, paginate: false, sort: props.fieldNames.start }}>
|
<BlockProvider {...props} params={params}>
|
||||||
<TableBlockProvider {...props} params={{ tree: true, paginate: false, sort: props.fieldNames.start }}>
|
<TableBlockProvider {...props} params={params}>
|
||||||
<InternalGanttBlockProvider {...props} />
|
<InternalGanttBlockProvider {...props} />
|
||||||
</TableBlockProvider>
|
</TableBlockProvider>
|
||||||
</BlockProvider>
|
</BlockProvider>
|
||||||
|
Loading…
Reference in New Issue
Block a user