From 1ffbf9e68a2f2294e86787c9c0670f932d4943dc Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 10 Feb 2022 21:25:54 +0100 Subject: [PATCH] Fix style issues Signed-off-by: trivernis --- .../drawer-page-content/drawer-page-content.component.ts | 8 ++------ .../drawer-page-side/drawer-page-side.component.ts | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-content/drawer-page-content.component.ts b/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-content/drawer-page-content.component.ts index 839cf26..cf624ac 100644 --- a/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-content/drawer-page-content.component.ts +++ b/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-content/drawer-page-content.component.ts @@ -1,4 +1,4 @@ -import {ChangeDetectionStrategy, Component, OnInit} from "@angular/core"; +import {ChangeDetectionStrategy, Component} from "@angular/core"; @Component({ selector: "app-drawer-page-content", @@ -6,12 +6,8 @@ import {ChangeDetectionStrategy, Component, OnInit} from "@angular/core"; styleUrls: ["./drawer-page-content.component.scss"], changeDetection: ChangeDetectionStrategy.OnPush }) -export class DrawerPageContentComponent implements OnInit { +export class DrawerPageContentComponent { constructor() { } - - ngOnInit(): void { - } - } diff --git a/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-side/drawer-page-side.component.ts b/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-side/drawer-page-side.component.ts index 5fa7bc0..1804d1e 100644 --- a/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-side/drawer-page-side.component.ts +++ b/mediarepo-ui/src/app/components/shared/app-common/drawer-page/drawer-page-side/drawer-page-side.component.ts @@ -1,4 +1,4 @@ -import {ChangeDetectionStrategy, Component, OnInit} from "@angular/core"; +import {ChangeDetectionStrategy, Component} from "@angular/core"; @Component({ selector: "app-drawer-page-side", @@ -6,12 +6,8 @@ import {ChangeDetectionStrategy, Component, OnInit} from "@angular/core"; styleUrls: ["./drawer-page-side.component.scss"], changeDetection: ChangeDetectionStrategy.OnPush }) -export class DrawerPageSideComponent implements OnInit { +export class DrawerPageSideComponent { constructor() { } - - ngOnInit(): void { - } - }