mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Display upgrade integration button instead of save for upgrades
This commit is contained in:
parent
dee9444dcc
commit
cbde6393e7
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