Skip to content

Commit

Permalink
flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Apr 15, 2024
1 parent c8d9b1d commit 6c7b400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { PositronActionBarServices } from 'vs/platform/positronActionBar/browser
import { PositronDataExplorerContextProvider } from 'vs/workbench/browser/positronDataExplorer/positronDataExplorerContext';
import { DataExplorerPanel } from 'vs/workbench/browser/positronDataExplorer/components/dataExplorerPanel/dataExplorerPanel';
import { IPositronDataExplorerInstance } from 'vs/workbench/services/positronDataExplorer/browser/interfaces/positronDataExplorerInstance';
import { PositronDataExplorerEditorInput } from 'vs/workbench/contrib/positronDataExplorerEditor/browser/positronDataExplorerEditorInput';

/**
* PositronDataExplorerServices interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ class PositronDataExplorerService extends Disposable implements IPositronDataExp
resource: PositronDataExplorerUri.generate(dataExplorerClientInstance.identifier)
});

// PositronDataExplorerEditorInput
dataExplorerClientInstance.getState().then((state) => {
// Hack to be able to call PositronDataExplorerEditorInput.setName without eslint errors;
// Hack to be able to call PositronDataExplorerEditorInput.setName without
// eslint errors;
const dxInput = editor?.input as any;
if (state.display_name !== undefined) {
dxInput.setName?.(`Data: ${state.display_name}`);
Expand Down

0 comments on commit 6c7b400

Please sign in to comment.