Skip to content
Snippets Groups Projects
Commit a667b0a6 authored by Johanna Szepanski's avatar Johanna Szepanski Committed by EREBUS_DMN\jsz
Browse files

added fallback empty array to prevent IOC table from crashing

parent 20a08d83
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!567CE-3151: Fixed common warnings
...@@ -66,7 +66,7 @@ export const HostIocSection = ({ hostId }) => { ...@@ -66,7 +66,7 @@ export const HostIocSection = ({ hostId }) => {
IOCs IOCs
</Typography> </Typography>
<IOCTable <IOCTable
iocs={iocs?.deployedIocs} iocs={iocs?.deployedIocs || []}
loading={loading || !dataReady} loading={loading || !dataReady}
rowType="host" rowType="host"
pagination={pagination} pagination={pagination}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment