Feat: Avoid the form sheet covering the chat sheet #3221 (#8768)

### What problem does this PR solve?

Feat: Avoid the form sheet covering the chat sheet #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-10 13:48:12 +08:00
committed by GitHub
parent cedcd13204
commit 2e0905d06a
4 changed files with 9 additions and 9 deletions

View File

@ -119,7 +119,7 @@ export function useShowDrawer({
(e, node) => {
if (!ExcludedNodes.some((x) => x === node.data.label)) {
hideSingleDebugDrawer();
hideRunOrChatDrawer();
// hideRunOrChatDrawer();
showFormDrawer(e, node);
}
// handle single debug icon click
@ -130,12 +130,7 @@ export function useShowDrawer({
showSingleDebugDrawer();
}
},
[
hideRunOrChatDrawer,
hideSingleDebugDrawer,
showFormDrawer,
showSingleDebugDrawer,
],
[hideSingleDebugDrawer, showFormDrawer, showSingleDebugDrawer],
);
return {