Skip to content

Commit

Permalink
Backport PR jupyterlab#7482: Show "Enable" button only for installed …
Browse files Browse the repository at this point in the history
…extensions
  • Loading branch information
blink1073 authored and MeeseeksDev[bot] committed Nov 7, 2019
1 parent b33d649 commit 8599b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extensionmanager/src/widget.tsx
Expand Up @@ -196,7 +196,7 @@ function ListEntry(props: ListEntry.IProperties): React.ReactElement<any> {
Disable
</Button>
)}
{!entry.enabled && (
{entry.installed && !entry.enabled && (
<Button
onClick={() => props.performAction('enable', entry)}
minimal
Expand Down

0 comments on commit 8599b5f

Please sign in to comment.