fix(va): enable Upload button in va mode
Build / Build-and-ng-test (pull_request) Successful in 3m55s
Build / Build-and-test-development (pull_request) Successful in 10m32s
Lighthouse Checks / lighthouse (pull_request) Successful in 18m13s

This commit is contained in:
2026-07-10 15:58:21 +02:00
parent 1fb5e8eb37
commit 1beb3d490d
+15 -1
View File
@@ -255,6 +255,20 @@
*ngIf="tableTrue"
class="clr-col-12 clr-col-md-4 clr-col-lg-4 btnCtrl"
>
<!-- VA embed: grid is always in edit mode. -->
<ng-container *ngIf="isVaEmbed && !uploadPreview">
<button
*ngIf="!columnLevelSecurityFlag"
type="button"
class="btn icon-collapse btn-sm btn-success mr-0"
[disabled]="submitLoading || uploadLoading"
(click)="onShowUploadModal()"
>
<clr-icon aria-hidden="true" shape="upload"></clr-icon>
<span class="text">Upload</span>
</button>
</ng-container>
<ng-container *ngIf="hotTable.readOnly && !uploadPreview">
<button
type="button"
@@ -474,7 +488,7 @@
<!-- VA data-driven content mode: single Submit below the grid.
Routes through the same checkSave() pipeline as the normal
editor (validation + approval modal + saveTable). -->
<ng-container *ngIf="isVaEmbed">
<ng-container *ngIf="isVaEmbed && !uploadPreview">
<!-- Single VA action bar: Submit | Auto-apply toggle | filter
status (pending/loading), all on one line. -->
<div class="va-filter-controls w-100 mt-2-i">