Skip to content

Commit

Permalink
Merge pull request #7487 from meeseeksmachine/auto-backport-of-pr-748…
Browse files Browse the repository at this point in the history
…2-on-1.x

Backport PR #7482 on branch 1.x (Show "Enable" button only for installed extensions)
  • Loading branch information
blink1073 committed Nov 7, 2019
2 parents b33d649 + 8599b5f commit b10fa71
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 b10fa71

Please sign in to comment.