🐛 Fix resetting root on re-upload (#847)
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ const PendingRootRow = ({
|
|||||||
!['cancelled', 'failed'].includes(root.status) &&
|
!['cancelled', 'failed'].includes(root.status) &&
|
||||||
root?.status !== 'error' && (
|
root?.status !== 'error' && (
|
||||||
<>
|
<>
|
||||||
{root.status === 'failed' ? (
|
{root.status === 'paused' ? (
|
||||||
<button
|
<button
|
||||||
onClick={() => pauseOrResumeRootUpload(rootKey)}
|
onClick={() => pauseOrResumeRootUpload(rootKey)}
|
||||||
className="hover:bg-blue-100 p-2 rounded-md transition-all duration-200 testid:upload-root-modal-row-resume"
|
className="hover:bg-blue-100 p-2 rounded-md transition-all duration-200 testid:upload-root-modal-row-resume"
|
||||||
|
|||||||
Reference in New Issue
Block a user