mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
job result fallbacks
This commit is contained in:
parent
762e8785c7
commit
d75d172c0c
@ -75,22 +75,30 @@ export default function ComputeDetailsModal({
|
|||||||
<>
|
<>
|
||||||
<ul>
|
<ul>
|
||||||
<ListItem>
|
<ListItem>
|
||||||
<a
|
{computeJob.algorithmLogUrl ? (
|
||||||
href={computeJob.algorithmLogUrl}
|
<a
|
||||||
target="_blank"
|
href={computeJob.algorithmLogUrl}
|
||||||
rel="noreferrer"
|
target="_blank"
|
||||||
>
|
rel="noreferrer"
|
||||||
View Log
|
>
|
||||||
</a>
|
View Log
|
||||||
|
</a>
|
||||||
|
) : (
|
||||||
|
'No logs found'
|
||||||
|
)}
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
||||||
{computeJob.resultsUrls?.map((url, i) => (
|
{computeJob.resultsUrls?.map((url, i) =>
|
||||||
<ListItem key={shortid.generate()}>
|
url ? (
|
||||||
<a href={url} target="_blank" rel="noreferrer">
|
<ListItem key={shortid.generate()}>
|
||||||
View Result {i}
|
<a href={url} target="_blank" rel="noreferrer">
|
||||||
</a>
|
View Result {i}
|
||||||
</ListItem>
|
</a>
|
||||||
))}
|
</ListItem>
|
||||||
|
) : (
|
||||||
|
'No results found.'
|
||||||
|
)
|
||||||
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
</>
|
</>
|
||||||
))}
|
))}
|
||||||
|
Loading…
Reference in New Issue
Block a user