Update resources/scripts/components/server/files/FileManagerContainer.tsx

This commit is contained in:
Derek1256 2025-03-05 22:45:33 +00:00
parent 0e95f4eb57
commit 31b3138bfa

View file

@ -94,15 +94,15 @@ export default () => {
) : (
<CSSTransition classNames={'fade'} timeout={150} appear in>
<div>
{files.length > 250 && (
{files.length > 500 && (
<div css={tw`rounded bg-yellow-400 mb-px p-3`}>
<p css={tw`text-yellow-900 text-sm text-center`}>
This directory is too large to display in the browser, limiting the output
to the first 250 files.
to the first 500 files.
</p>
</div>
)}
{sortFiles(files.slice(0, 250)).map((file) => (
{sortFiles(files.slice(0, 500)).map((file) => (
<FileObjectRow key={file.key} file={file} />
))}
<MassActionsBar />