-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CB-5839 fix: resource blocking #3199
base: devel
Are you sure you want to change the base?
Conversation
The case:
2025-01-21.15.04.36.mov |
if (!nodeId.startsWith('database://')) { | ||
return; | ||
} | ||
|
||
const indexOfConnectionPart = nodeId.indexOf('/', 11); | ||
const connectionId = nodeId.slice(11, indexOfConnectionPart > -1 ? indexOfConnectionPart : nodeId.length); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets remove magic numbers and move the key database://
to something like NodeManagerUtils.DatabaseNodeBase
cloudbeaver/webapp/packages/core-navigation-tree/src/NodesManager/NodeManagerUtils.ts
and replace this 11
with its length
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactored
Also have found this case 2025-01-22.13.46.55.mov |
No description provided.