fix(editor): hide the word-boundary hint when the job kept no transcript
A silent/visual-only job has no words to click, so 'CLICK A WORD, THEN SET A BOUNDARY' sat right above 'this job kept no transcript'.
This commit is contained in:
parent
4a71d66066
commit
8fb5e3b7b6
1 changed files with 2 additions and 2 deletions
|
|
@ -1236,9 +1236,9 @@ export default function ClipEditor({ jobId, clipIndex, clipTitle, onClose, onRer
|
|||
#{selected + 1} ends here
|
||||
</button>
|
||||
</div>
|
||||
) : (
|
||||
) : words.length > 0 ? (
|
||||
<span className="readout shrink-0">CLICK A WORD, THEN SET A BOUNDARY</span>
|
||||
)}
|
||||
) : null}
|
||||
</div>
|
||||
{words.length === 0 ? (
|
||||
<p className="text-xs text-muted lowercase">this job kept no transcript</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue