Skip to content

Commit

Permalink
Always return null for containerDetail
Browse files Browse the repository at this point in the history
Our checks expect null not undefined in for example
ContainerIntegration.
  • Loading branch information
jelly committed Sep 2, 2022
1 parent ac7219f commit e4541e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Containers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,9 @@ class Containers extends React.Component {
};

const createPod = () => {
Dialogs.show(<PodCreateModal props={this.props}
Dialogs.show(<PodCreateModal
user={this.props.user}
selinuxAvailable={this.props.selinuxAvailable}
podmanRestartAvailable={this.props.podmanRestartAvailable}
systemServiceAvailable={this.props.systemServiceAvailable}
userServiceAvailable={this.props.userServiceAvailable}
onAddNotification={this.props.onAddNotification} />);
Expand Down Expand Up @@ -639,7 +638,7 @@ class Containers extends React.Component {
const tableProps = {};
const rows = partitionedContainers[section].map(container => {
return this.renderRow(this.props.containersStats, container,
this.props.containersDetails[container.Id + container.isSystem.toString()],
this.props.containersDetails[container.Id + container.isSystem.toString()] || null,
localImages);
});
let caption;
Expand Down

0 comments on commit e4541e1

Please sign in to comment.