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,6 +75,7 @@ export default function ComputeDetailsModal({
|
||||
<>
|
||||
<ul>
|
||||
<ListItem>
|
||||
{computeJob.algorithmLogUrl ? (
|
||||
<a
|
||||
href={computeJob.algorithmLogUrl}
|
||||
target="_blank"
|
||||
@ -82,15 +83,22 @@ export default function ComputeDetailsModal({
|
||||
>
|
||||
View Log
|
||||
</a>
|
||||
) : (
|
||||
'No logs found'
|
||||
)}
|
||||
</ListItem>
|
||||
|
||||
{computeJob.resultsUrls?.map((url, i) => (
|
||||
{computeJob.resultsUrls?.map((url, i) =>
|
||||
url ? (
|
||||
<ListItem key={shortid.generate()}>
|
||||
<a href={url} target="_blank" rel="noreferrer">
|
||||
View Result {i}
|
||||
</a>
|
||||
</ListItem>
|
||||
))}
|
||||
) : (
|
||||
'No results found.'
|
||||
)
|
||||
)}
|
||||
</ul>
|
||||
</>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user