Skip to content

Commit

Permalink
[Fleet] Display upgrade integration button instead of save for upgrad…
Browse files Browse the repository at this point in the history
…es (#114314)

* Display upgrade integration button instead of save for upgrades

* Skip endpoint tests

* Revert "Skip endpoint tests"

This reverts commit 3cfd100.
  • Loading branch information
kpollich authored Oct 11, 2021
1 parent 30aeb81 commit c73dc23
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -584,10 +584,17 @@ export const EditPackagePolicyForm = memo<{
fill
data-test-subj="saveIntegration"
>
<FormattedMessage
id="xpack.fleet.editPackagePolicy.saveButton"
defaultMessage="Save integration"
/>
{isUpgrade ? (
<FormattedMessage
id="xpack.fleet.editPackagePolicy.upgradeButton"
defaultMessage="Upgrade integration"
/>
) : (
<FormattedMessage
id="xpack.fleet.editPackagePolicy.saveButton"
defaultMessage="Save integration"
/>
)}
</EuiButton>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down

0 comments on commit c73dc23

Please sign in to comment.