mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore: CB-722 small improvements
This commit is contained in:
@@ -393,7 +393,7 @@ export class NavNodeManagerService extends Bootstrap {
|
||||
data: INodeNavigationData,
|
||||
contexts: IExecutionContextProvider<INodeNavigationData>
|
||||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
||||
): Promise<void | false> {
|
||||
): Promise<void> {
|
||||
const nodeInfo = await contexts.getContext(this.navigationNavNodeContext);
|
||||
|
||||
if (NodeManagerUtils.isDatabaseObject(nodeInfo.nodeId) && nodeInfo.connection) {
|
||||
|
||||
@@ -84,7 +84,7 @@ export function useMapResource<
|
||||
try {
|
||||
await actions?.onLoad?.(resource);
|
||||
|
||||
if (key === null || resource.isLoaded(key)) {
|
||||
if (key === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user