|
|
@ -23,8 +23,8 @@ export default function Component({ service }) {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (containersData.error || !Array.isArray(containersData)) {
|
|
|
|
if (containersData.error || containersData.message) {
|
|
|
|
// containersData can be itself an error object
|
|
|
|
// containersData can be itself an error object e.g. if environment fails
|
|
|
|
return <Container service={service} error={ containersData?.error ?? containersData } />;
|
|
|
|
return <Container service={service} error={ containersData?.error ?? containersData } />;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|