diff --git a/ui-ngx/src/app/modules/home/menu/menu-link.component.ts b/ui-ngx/src/app/modules/home/menu/menu-link.component.ts index 1b675bf1eb..46f0796417 100644 --- a/ui-ngx/src/app/modules/home/menu/menu-link.component.ts +++ b/ui-ngx/src/app/modules/home/menu/menu-link.component.ts @@ -14,7 +14,7 @@ /// limitations under the License. /// -import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { MenuSection } from '@core/services/menu.models'; import { coerceBoolean } from '@shared/decorators/coercion'; @@ -25,7 +25,7 @@ import { coerceBoolean } from '@shared/decorators/coercion'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: false }) -export class MenuLinkComponent implements OnInit { +export class MenuLinkComponent { @Input() section: MenuSection; @@ -36,7 +36,4 @@ export class MenuLinkComponent implements OnInit { constructor() { } - ngOnInit() { - } - } diff --git a/ui-ngx/src/app/modules/home/menu/menu-toggle.component.html b/ui-ngx/src/app/modules/home/menu/menu-toggle.component.html index 6133e5d359..850409b964 100644 --- a/ui-ngx/src/app/modules/home/menu/menu-toggle.component.html +++ b/ui-ngx/src/app/modules/home/menu/menu-toggle.component.html @@ -37,7 +37,7 @@ [class.tb-toggled]="section.opened">