feat(xo-web/vm): rescan ISO SRs available in console view (#5841)

See xoa-support#3896
See xoa-support#3888
See xoa-support#3909
Continuity of d7940292d0
Introduced by f3501acb64
This commit is contained in:
Mathieu 2021-07-16 17:02:10 +02:00 committed by GitHub
parent cbfa13a8b4
commit 12216f1463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 8 deletions

View File

@ -8,11 +8,14 @@
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- [Netbox] Add information about a failed request to the error log to help better understand what happened [#5834](https://github.com/vatesfr/xen-orchestra/issues/5834) (PR [#5842](https://github.com/vatesfr/xen-orchestra/pull/5842))
- [VM/console] Ability to rescan ISO SRs (PR [#5841](https://github.com/vatesfr/xen-orchestra/pull/5841))
### Bug fixes
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [VM/disks] Fix `an error has occured` when self service user was on VM disk view (PR [#5841](https://github.com/vatesfr/xen-orchestra/pull/5841))
### Packages to release
> Packages will be released in the order they are here, therefore, they should
@ -31,3 +34,4 @@
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- xo-server-netbox minor
- xo-web minor

View File

@ -108,6 +108,7 @@ export default class IsoDevice extends Component {
srPredicate={this._getSrPredicate()}
value={mountedIso}
/>
{!useResourceSet && (
<span className='input-group-btn'>
<ActionButton
disabled={isEmpty(isoSrs)}
@ -116,6 +117,7 @@ export default class IsoDevice extends Component {
tooltip={_('rescanIsoSrs')}
/>
</span>
)}
<span className='input-group-btn'>
<ActionButton disabled={!mountedIso} handler={this._handleEject} icon='vm-eject' />
</span>