fix(xo-web/xoa): always allow users to manage the XOA (#4941)

This commit is contained in:
Pierre Donias 2020-04-22 14:18:59 +02:00 committed by GitHub
parent 29d0593b86
commit 85428fa72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,7 @@
- [Patches] Hide patch `CH81` (upgrade patch) from the pool patches (PR [#4942](https://github.com/vatesfr/xen-orchestra/pull/4942))
- [Proxy] Fix some `operation timed out` errors on (re)deploy [#4927](https://github.com/vatesfr/xen-orchestra/issues/4927) (PR [#4928](https://github.com/vatesfr/xen-orchestra/pull/4928))
- [Backup] Fix some `cannot get the proxy VM IP` errors on backup's execution [#4927](https://github.com/vatesfr/xen-orchestra/issues/4927) (PR [#4928](https://github.com/vatesfr/xen-orchestra/pull/4928))
- [XOA] Allow to access the license page when a XOA trial has ended (PR [#4941](https://github.com/vatesfr/xen-orchestra/pull/4941))
### Released packages

View File

@ -217,7 +217,11 @@ export default class XoApp extends Component {
render() {
const { signedUp, trial, registerNeeded } = this.props
const blocked = signedUp && blockXoaAccess(trial) // If we are under expired or unstable trial (signed up only)
// If we are under expired or unstable trial (signed up only)
const blocked =
signedUp &&
blockXoaAccess(trial) &&
!this.context.router.location.pathname.startsWith('/xoa/')
const plan = getXoaPlan()
return (