From 3d498eacb9710331e99ecd00e4d160113f241026 Mon Sep 17 00:00:00 2001 From: Uzaeir Khan Date: Tue, 29 Oct 2024 10:28:59 +0100 Subject: [PATCH] BC-2936 update after review comments --- views/lib/components/files-storage/files-card.hbs | 8 ++++---- views/lib/components/files-storage/files-grid.hbs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/views/lib/components/files-storage/files-card.hbs b/views/lib/components/files-storage/files-card.hbs index 07e2e1e0da..6ff4429655 100644 --- a/views/lib/components/files-storage/files-card.hbs +++ b/views/lib/components/files-storage/files-card.hbs @@ -11,7 +11,7 @@ tabindex="0" aria-label="{{$t "files.label.clickToOpenFile" (dict "name" this.name)}}" role="button"> -
+
@@ -37,7 +37,7 @@ data-file-name="{{../this.name}}" class="file-btn" data-method="download" - data-testid="file-download-btn-{{@index}}" + data-testid="file-download-btn-{{../fileIndex}}" title="{{$t "files.label.downloadFile"}}"> @@ -49,14 +49,14 @@ data-file-name="{{../this.name}}" title="{{$t "files.label.renameFile"}}" class="file-btn fa fa-edit file-name-edit" - data-testid="file-rename-btn-{{@index}}"> + data-testid="file-rename-btn-{{../fileIndex}}"> {{/userHasPermission}} {{#userHasPermission "FILESTORAGE_REMOVE"}}