Skip to content

Commit 95ea190

Browse files
committed
Disable button and remove button hint icon
1 parent 063c9f8 commit 95ea190

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/Toolbar.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export class Toolbar extends React.Component<IToolbarProps, IToolbarState> {
205205
return (
206206
<div className={toolbarMenuWrapperClass}>
207207
<button
208+
disabled
208209
className={toolbarMenuButtonClass}
209210
title={`Current repository: ${this.state.repository}`}
210211
onClick={this._onRepositoryClick}
@@ -222,13 +223,13 @@ export class Toolbar extends React.Component<IToolbarProps, IToolbarState> {
222223
{PathExt.basename(this.state.repository)}
223224
</p>
224225
</div>
225-
<span
226+
{/*<span
226227
className={classes(
227228
toolbarMenuButtonIconClass,
228229
this.state.repoMenu ? closeMenuIconClass : openMenuIconClass,
229230
'jp-Icon-16'
230231
)}
231-
/>
232+
/>*/}
232233
</button>
233234
{this.state.repoMenu ? null : null}
234235
</div>

0 commit comments

Comments
 (0)