🐛 Fix bug unable to fetch new item when collapsed the upload viewer

This commit is contained in:
lethemanh
2025-03-03 15:56:13 +07:00
committed by Anton Shepilov
parent 49c4f10d37
commit 6f762ecefa
@@ -127,8 +127,7 @@ const PendingRootList = ({
modalExpanded={modalExpanded}
/>
{modalExpanded && (
<div className="modal-body">
<div className={`modal-body ${modalExpanded ? 'block' : 'hidden'}`}>
<div className="bg-white px-4 py-2">
<PerfectScrollbar
options={{ suppressScrollX: true, suppressScrollY: false }}
@@ -147,7 +146,6 @@ const PendingRootList = ({
uploadingCount={uploadingCount + pausedCount}
/>
</div>
)}
</div>
)}
</>