fix: gantt chart block left drag flicker (#1854)
* fix: left drag flicker * fix: opposite side manual scroll
This commit is contained in:
parent
f73239be92
commit
f7a596c113
4 changed files with 98 additions and 48 deletions
|
|
@ -69,9 +69,13 @@ export const ModulesListGanttChartView: FC<Props> = ({ modules, mutateModules })
|
|||
if (newPayload.sort_order && payload.sort_order)
|
||||
newPayload.sort_order = payload.sort_order.newSortOrder;
|
||||
|
||||
modulesService
|
||||
.patchModule(workspaceSlug.toString(), module.project, module.id, newPayload, user)
|
||||
.finally(() => mutateModules());
|
||||
modulesService.patchModule(
|
||||
workspaceSlug.toString(),
|
||||
module.project,
|
||||
module.id,
|
||||
newPayload,
|
||||
user
|
||||
);
|
||||
};
|
||||
|
||||
const blockFormat = (blocks: IModule[]) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue