Skip to content

Commit

Permalink
Merge pull request #7482 from jtpio/enable-button
Browse files Browse the repository at this point in the history
Show "Enable" button only for installed extensions
  • Loading branch information
blink1073 committed Nov 7, 2019
2 parents 3ea8d3b + 0020035 commit 3881726
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 3881726

Please sign in to comment.