mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5543] Enable lint accessibility and resolve found issues (#9421)
This commit is contained in:
@@ -26,7 +26,6 @@ import { AspectListDialogComponentData } from './aspect-list-dialog-data.interfa
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class AspectListDialogComponent implements OnInit {
|
||||
|
||||
title: string;
|
||||
description: string;
|
||||
currentNodeId: string;
|
||||
@@ -35,8 +34,7 @@ export class AspectListDialogComponent implements OnInit {
|
||||
|
||||
currentAspectSelection: string[] = [];
|
||||
|
||||
constructor(private dialog: MatDialogRef<AspectListDialogComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: AspectListDialogComponentData) {
|
||||
constructor(private dialog: MatDialogRef<AspectListDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: AspectListDialogComponentData) {
|
||||
this.title = data.title;
|
||||
this.description = data.description;
|
||||
this.overTableMessage = data.overTableMessage;
|
||||
@@ -47,7 +45,7 @@ export class AspectListDialogComponent implements OnInit {
|
||||
this.dialog.backdropClick().subscribe(() => {
|
||||
this.close();
|
||||
});
|
||||
this.dialog.keydownEvents().subscribe(event => {
|
||||
this.dialog.keydownEvents().subscribe((event) => {
|
||||
// Esc
|
||||
if (event.keyCode === 27) {
|
||||
event.preventDefault();
|
||||
|
Reference in New Issue
Block a user