1
0

ESLint: fix dangling commas

This commit is contained in:
Yury Bondarenko
2023-06-27 16:23:06 +02:00
parent 725dbc3743
commit 917c36dbe7
1789 changed files with 12452 additions and 12452 deletions

View File

@@ -14,7 +14,7 @@ import { MenuID } from '../../shared/menu/menu-id.model';
selector: 'ds-expandable-navbar-section',
templateUrl: './expandable-navbar-section.component.html',
styleUrls: ['./expandable-navbar-section.component.scss'],
animations: [slide]
animations: [slide],
})
@rendersSectionForMenu(MenuID.PUBLIC, true)
export class ExpandableNavbarSectionComponent extends NavbarSectionComponent implements OnInit {
@@ -26,7 +26,7 @@ export class ExpandableNavbarSectionComponent extends NavbarSectionComponent imp
constructor(@Inject('sectionDataProvider') menuSection,
protected menuService: MenuService,
protected injector: Injector,
private windowService: HostWindowService
private windowService: HostWindowService,
) {
super(menuSection, menuService, injector);
}
@@ -42,7 +42,7 @@ export class ExpandableNavbarSectionComponent extends NavbarSectionComponent imp
*/
activateSection(event): void {
this.windowService.isXsOrSm().pipe(
first()
first(),
).subscribe((isMobile) => {
if (!isMobile) {
super.activateSection(event);
@@ -57,7 +57,7 @@ export class ExpandableNavbarSectionComponent extends NavbarSectionComponent imp
*/
deactivateSection(event): void {
this.windowService.isXsOrSm().pipe(
first()
first(),
).subscribe((isMobile) => {
if (!isMobile) {
super.deactivateSection(event);
@@ -73,7 +73,7 @@ export class ExpandableNavbarSectionComponent extends NavbarSectionComponent imp
toggleSection(event): void {
event.preventDefault();
this.windowService.isXsOrSm().pipe(
first()
first(),
).subscribe((isMobile) => {
if (isMobile) {
super.toggleSection(event);