Skip to content

Commit 2a7ac1d

Browse files
ELin2025claude
andcommitted
fix(frontend): disable file input and clear button during audio upload
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c64312d commit 2a7ac1d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

frontend/src/app/workspace/component/hugging-face-audio-upload/hugging-face-audio-upload.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
type="file"
2929
accept="audio/*"
3030
class="hf-audio-upload-input"
31+
[disabled]="isUploading"
3132
(change)="onFileSelected($event)" />
3233

3334
<div
@@ -47,6 +48,7 @@
4748
nz-button
4849
nzSize="small"
4950
type="button"
51+
[disabled]="isUploading"
5052
(click)="clearAudio(fileInput)">
5153
Clear
5254
</button>

0 commit comments

Comments
 (0)