Skip to content

Commit

Permalink
CB-4548 code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyteleshev committed Apr 2, 2024
1 parent 2d6c8b1 commit 1495c18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import type { IDataContextProvider } from '@cloudbeaver/core-data-context';
import { Bootstrap, injectable } from '@cloudbeaver/core-di';
import { DATA_CONTEXT_TABS_CONTEXT, MENU_TAB } from '@cloudbeaver/core-ui';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const SqlResultTabs = observer<Props>(function SqlDataResult({ state, onT
onTabSelect?.(tab.tabId);
}

async function handleClose(tab: ITabData) {
function handleClose(tab: ITabData) {
const canClose = handleCanClose(tab);

if (canClose) {
Expand Down

0 comments on commit 1495c18

Please sign in to comment.