feat(xo-web/XOA update): display "Downgrade" when trial is over (#2845)
Fixes #1483
This commit is contained in:
parent
3d869d9fa1
commit
c6f3b2b1ce
@ -1532,6 +1532,7 @@ const messages = {
|
||||
update: 'Update',
|
||||
refresh: 'Refresh',
|
||||
upgrade: 'Upgrade',
|
||||
downgrade: 'Downgrade',
|
||||
noUpdaterCommunity: 'No updater available for Community Edition',
|
||||
considerSubscribe:
|
||||
'Please consider subscribing and trying it with all the features for free during 15 days on {link}.',
|
||||
|
@ -234,7 +234,9 @@ export default class XoaUpdates extends Component {
|
||||
handler={upgrade}
|
||||
icon='upgrade'
|
||||
>
|
||||
{_('upgrade')}
|
||||
{trial.state !== 'untrustedTrial'
|
||||
? _('upgrade')
|
||||
: _('downgrade')}
|
||||
</ActionButton>
|
||||
<hr />
|
||||
<div>
|
||||
|
Loading…
Reference in New Issue
Block a user