Skip to content

Commit bc44df5

Browse files
authored
Merge pull request #30 from QuantStack/driveBrowserIcon
Change `DriveBrowser` icon
2 parents 9541ee4 + 52ec707 commit bc44df5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ import { Widget } from '@lumino/widgets';
2727
import { Drive } from './s3contents';
2828

2929
import { DriveIcon } from './icons';
30-
import { FilenameSearcher, IScore } from '@jupyterlab/ui-components';
30+
import {
31+
FilenameSearcher,
32+
IScore,
33+
folderIcon
34+
} from '@jupyterlab/ui-components';
3135
import { ReadonlyPartialJSONObject, Token } from '@lumino/coreutils';
3236
import { S3ClientConfig } from '@aws-sdk/client-s3';
3337

@@ -163,7 +167,7 @@ const defaultFileBrowser: JupyterFrontEndPlugin<IDefaultFileBrowser> = {
163167
// Set attributes when adding the browser to the UI
164168
defaultBrowser.node.setAttribute('role', 'region');
165169
defaultBrowser.node.setAttribute('aria-label', 'Drive Browser Section');
166-
defaultBrowser.title.icon = DriveIcon;
170+
defaultBrowser.title.icon = folderIcon;
167171

168172
// Show the current file browser shortcut in its title.
169173
const updateBrowserTitle = () => {

0 commit comments

Comments
 (0)