Fixing some sonarcloud comments

This commit is contained in:
VitoAlbano
2024-04-28 10:41:26 +01:00
parent d4ec42ffdf
commit 318d3d0daa
2 changed files with 1 additions and 2 deletions

View File

@@ -62,7 +62,6 @@
[alt]="mimeTypeIcon" [alt]="mimeTypeIcon"
(click)="onAttachFileClicked(file)" (click)="onAttachFileClicked(file)"
(keyup.enter)="onAttachFileClicked(file)" (keyup.enter)="onAttachFileClicked(file)"
role="img"
[attr.aria-label]="file.name" [attr.aria-label]="file.name"
[tabindex]="i"/> [tabindex]="i"/>
<span matLine id="{{'file-'+file.id}}" (click)="onAttachFileClicked(file)" [matTooltip]="file.name" (keyup.enter)="onAttachFileClicked(file)" <span matLine id="{{'file-'+file.id}}" (click)="onAttachFileClicked(file)" [matTooltip]="file.name" (keyup.enter)="onAttachFileClicked(file)"

View File

@@ -12,7 +12,7 @@
(keyup.enter)="fileClicked(file)" (keyup.enter)="fileClicked(file)"
role="button" role="button"
tabindex="0"/> tabindex="0"/>
<span matLine id="{{'file-'+file.id}}" (click)="fileClicked(file)" (keyup.enter)="fileClicked(file)" <span matListItemLine id="{{'file-'+file.id}}" (click)="fileClicked(file)" (keyup.enter)="fileClicked(file)"
role="button" tabindex="0" class="adf-file">{{file.name}}</span> role="button" tabindex="0" class="adf-file">{{file.name}}</span>
<button *ngIf="!field.readOnly" mat-icon-button [id]="'file-'+file.id+'-remove'" <button *ngIf="!field.readOnly" mat-icon-button [id]="'file-'+file.id+'-remove'"
(click)="removeFile(file);" (keyup.enter)="removeFile(file);"> (click)="removeFile(file);" (keyup.enter)="removeFile(file);">