chore: CB-722 small improvements

This commit is contained in:
Wroud
2021-02-11 22:58:29 +03:00
parent 56c7c1e3bf
commit cd7c4e8f45
2 changed files with 2 additions and 2 deletions
@@ -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;
}