mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
Merge branch 'feature/history-compute' of https://github.com/oceanprotocol/market into feature/history-compute
This commit is contained in:
commit
5e38ae572b
@ -128,17 +128,20 @@ export default function Compute({
|
|||||||
<Dropzone multiple={false} handleOnDrop={onDrop} />
|
<Dropzone multiple={false} handleOnDrop={onDrop} />
|
||||||
|
|
||||||
<div className={styles.actions}>
|
<div className={styles.actions}>
|
||||||
<Button
|
{isLoading ? (
|
||||||
style="primary"
|
<Loader message={computeStepText} />
|
||||||
onClick={() => startJob()}
|
) : (
|
||||||
disabled={isComputeButtonDisabled}
|
<Button
|
||||||
>
|
style="primary"
|
||||||
{hasDatatoken ? 'Start job' : 'Buy'}
|
onClick={() => startJob()}
|
||||||
</Button>
|
disabled={isComputeButtonDisabled}
|
||||||
|
>
|
||||||
|
{hasDatatoken ? 'Start job' : 'Buy'}
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer className={styles.feedback}>
|
<footer className={styles.feedback}>
|
||||||
{isLoading && <Loader message={computeStepText} />}
|
|
||||||
{computeError !== undefined && (
|
{computeError !== undefined && (
|
||||||
<Alert text={computeError} state="error" />
|
<Alert text={computeError} state="error" />
|
||||||
)}
|
)}
|
||||||
|
@ -97,8 +97,8 @@ export default function PoolTransactions(): ReactElement {
|
|||||||
data={logs}
|
data={logs}
|
||||||
className={styles.table}
|
className={styles.table}
|
||||||
noHeader
|
noHeader
|
||||||
pagination={logs?.length >= 19}
|
pagination={logs?.length >= 9}
|
||||||
paginationPerPage={20}
|
paginationPerPage={10}
|
||||||
noDataComponent={<Empty />}
|
noDataComponent={<Empty />}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user