Fix/dataset add pages tip (#410)
This commit is contained in:
parent
ce2996e7d4
commit
f797fab206
6 changed files with 68 additions and 50 deletions
|
|
@ -220,7 +220,7 @@ const Documents: FC<IDocumentsProps> = ({ datasetId }) => {
|
|||
? <Loading type='app' />
|
||||
: total > 0
|
||||
? <List documents={documentsList || []} datasetId={datasetId} onUpdate={mutate} />
|
||||
: <EmptyElement onClick={routeToDocCreate} />
|
||||
: <EmptyElement onClick={routeToDocCreate} type={isDataSourceNotion ? 'sync' : 'upload'} />
|
||||
}
|
||||
{/* Show Pagination only if the total is more than the limit */}
|
||||
{(total && total > limit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue