Fixed problem presenting the download component in the first load of the bucket viewer
This commit is contained in:
parent
d18e3dd486
commit
26dcffc279
5
.changeset/funny-horses-smash.md
Normal file
5
.changeset/funny-horses-smash.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@portaljs/components': patch
|
||||
---
|
||||
|
||||
Fixed problem presenting the download component in the first load of the bucket viewer
|
||||
@ -47,7 +47,7 @@ export function BucketViewer({
|
||||
downloadComponent = downloadComponent ?? <></>;
|
||||
|
||||
const [isLoading, setIsLoading] = useState<boolean>(false);
|
||||
const [showDownloadComponentOnLine, setShowDownloadComponentOnLine] = useState(0);
|
||||
const [showDownloadComponentOnLine, setShowDownloadComponentOnLine] = useState(-1);
|
||||
const [currentPage, setCurrentPage] = useState<number>(0);
|
||||
const [lastPage, setLastPage] = useState<number>(0);
|
||||
const [bucketFiles, setBucketFiles] = useState<BucketViewerData[]>([]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user