Fixed problem presenting the download component in the first load of the bucket viewer
This commit is contained in:
@@ -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[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user