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:
juancarlos.cavero 2026-08-21 15:17:44 +02:00
parent 4a71d66066
commit 8fb5e3b7b6

View file

@ -1236,9 +1236,9 @@ export default function ClipEditor({ jobId, clipIndex, clipTitle, onClose, onRer
#{selected + 1} ends here #{selected + 1} ends here
</button> </button>
</div> </div>
) : ( ) : words.length > 0 ? (
<span className="readout shrink-0">CLICK A WORD, THEN SET A BOUNDARY</span> <span className="readout shrink-0">CLICK A WORD, THEN SET A BOUNDARY</span>
)} ) : null}
</div> </div>
{words.length === 0 ? ( {words.length === 0 ? (
<p className="text-xs text-muted lowercase">this job kept no transcript</p> <p className="text-xs text-muted lowercase">this job kept no transcript</p>