Skip to content

Commit

Permalink
fix(xo-web/log-alert-body): fix 'an error has occurred' (vatesfr#7458)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danp2 authored Mar 12, 2024
1 parent bfb8d3b commit 54dc3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- [VM/Migration] Fix VDIs that were not migrated to the destination SR (PR [#7360](https://github.com/vatesfr/xen-orchestra/pull/7360))
- [Home/VM] VMs migration from the home view will no longer execute a [Migration with Storage Motion](https://github.com/vatesfr/xen-orchestra/blob/master/docs/manage_infrastructure.md#vm-migration-with-storage-motion-vmmigrate_send) unless it is necessary [Forum#8279](https://xcp-ng.org/forum/topic/8279/getting-errors-when-migrating-4-out-5-vmguest/)(PR [#7360](https://github.com/vatesfr/xen-orchestra/pull/7360))
- [VM/Migration] SR is no longer required if you select a migration network (PR [#7360](https://github.com/vatesfr/xen-orchestra/pull/7360))
- [Backup] Fix `an error has occurred` when clicking on warning text in logs (PR [#7458](https://github.com/vatesfr/xen-orchestra/pull/7458))

### Packages to release

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class TaskWarning extends React.Component {
<span className={className} onClick={() => this.setState({ expanded: !this.state.expanded })}>
<Icon icon='alarm' /> {this.props.message}
</span>
{this.state.expanded && (
{this.state.expanded && this.props.data && (
<ul className='task-warning'>
{Object.keys(this.props.data).map(key => (
<li key={key}>
Expand Down

0 comments on commit 54dc3fe

Please sign in to comment.