hide nav on similar cases page

This commit is contained in:
Tykayn 2025-09-24 11:40:51 +02:00 committed by tykayn
parent 669b82aeea
commit facbbee251
13 changed files with 89 additions and 17 deletions

View file

@ -1,11 +1,13 @@
<div class="translate-texts is-{{disabled? 'disabled' : 'enabled'}}">
<!-- <button (click)="onRemoveFileSelected()" class="remove-file-upload">-->
<!-- onRemoveFileSelected-->
<!-- </button>-->
<div [ngClass]="{
'is-focused' : fromTextFocused
}" id="fromText">
@if (!fileIsUploaded || !appState.fromText.length) {
@if (!fileIsUploaded || !appState.fromText.length || !fromTextFocused) {
<!-- @if (appState.fromText.length == 0) {-->
<button (click)="clickFileUpload(fileUpload)" class=" click-file-upload is-outlined">
<span class="label">
@ -36,7 +38,7 @@
{{ fileWeight }}
</div>
</div>
<button class="remove-file-upload" (click)="onRemoveFileSelected()">x</button>
<button (click)="onRemoveFileSelected()" class="remove-file-upload">x</button>
</div>
}
<!-- delete button from_text-->