Skip to content

Commit 8a1c4a9

Browse files
committed
fix: text file delete button should not be visible when no file has been uploaded
1 parent 0ee1f50 commit 8a1c4a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/studio-web/src/app/upload/upload.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h1 i18n="Title for text box" class="title">Text</h1>
5858
<!-- </div> -->
5959
</div>
6060
</div>
61-
@if (studioService.textControl$.value !== null) {
61+
@if (textFileUpload.value) {
6262
<div class="row">
6363
<div class="col-12 offset-xl-8 col-xl-4">
6464
<button

0 commit comments

Comments
 (0)