mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 00:19:01 +00:00
fix(ui): enable polling for version stack status to fix indefinite processing state
This commit is contained in:
@@ -80,7 +80,7 @@ export function FileCard({
|
||||
const inputRef = useRef<HTMLInputElement>(null)
|
||||
|
||||
const shouldPoll =
|
||||
item.type === 'file' &&
|
||||
(item.type === 'file' || item.type === 'version_stack') &&
|
||||
!!teamId &&
|
||||
(item.status === 'uploading' || item.status === 'uploaded' || item.status === 'processing')
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ export function FileListItem({
|
||||
const inputRef = useRef<HTMLInputElement>(null)
|
||||
|
||||
const shouldPoll =
|
||||
item.type === 'file' &&
|
||||
(item.type === 'file' || item.type === 'version_stack') &&
|
||||
!!teamId &&
|
||||
(item.status === 'uploading' || item.status === 'uploaded' || item.status === 'processing')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user