mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Fleet] Display upgrade integration button instead of save for upgrades (#114314)
* Display upgrade integration button instead of save for upgrades
* Skip endpoint tests
* Revert "Skip endpoint tests"
This reverts commit 3cfd100171
.
This commit is contained in:
parent
30aeb8106c
commit
c73dc234e3
1 changed files with 11 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue