[ACS-8956] Add new ESLint rule for self-closing tags (#4211)

This commit is contained in:
MichalKinas
2024-10-31 09:54:23 +01:00
committed by GitHub
parent d25c08a2c5
commit cacc4149fa
60 changed files with 200 additions and 256 deletions

View File

@@ -18,17 +18,17 @@
(navigateNext)="onNavigateNext($event)"
>
<adf-viewer-sidebar *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.file"></aca-info-drawer>
<aca-info-drawer [node]="selection.file" />
</adf-viewer-sidebar>
<adf-viewer-open-with *ngIf="openWith.length">
<ng-container *ngFor="let action of openWith; trackBy: trackByActionId">
<app-toolbar-menu-item [actionRef]="action"></app-toolbar-menu-item>
<app-toolbar-menu-item [actionRef]="action" />
</ng-container>
</adf-viewer-open-with>
<adf-viewer-toolbar-actions *ngIf="!simplestMode">
<aca-toolbar [items]="viewerToolbarActions"></aca-toolbar>
<aca-toolbar [items]="viewerToolbarActions" />
</adf-viewer-toolbar-actions>
</adf-alfresco-viewer>
</ng-container>

View File

@@ -22,17 +22,17 @@
(navigateNext)="onNavigateNext($event)"
>
<adf-viewer-sidebar *ngIf="infoDrawerOpened$ | async">
<aca-info-drawer [node]="selection.file"></aca-info-drawer>
<aca-info-drawer [node]="selection.file" />
</adf-viewer-sidebar>
<adf-viewer-open-with *ngIf="openWith.length">
<ng-container *ngFor="let action of openWith; trackBy: trackByActionId">
<app-toolbar-menu-item [actionRef]="action"></app-toolbar-menu-item>
<app-toolbar-menu-item [actionRef]="action" />
</ng-container>
</adf-viewer-open-with>
<adf-viewer-toolbar-actions>
<aca-toolbar [items]="toolbarActions"></aca-toolbar>
<aca-toolbar [items]="toolbarActions" />
</adf-viewer-toolbar-actions>
</adf-alfresco-viewer>
</ng-container>