mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Don't process idle transcriptions
This commit is contained in:
@@ -236,13 +236,14 @@ export default function TranscriptBrowser() {
|
||||
/>
|
||||
<MenuList>
|
||||
<MenuItem
|
||||
disabled={deletionLoading}
|
||||
isDisabled={deletionLoading}
|
||||
onClick={() => setTranscriptToDeleteId(item.id)}
|
||||
icon={<FaTrash color={"red.500"} />}
|
||||
>
|
||||
Delete
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
isDisabled={item.status === "idle"}
|
||||
onClick={handleProcessTranscript(item.id)}
|
||||
icon={<FaArrowRotateRight />}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user