From 28e0e40d2b301f109a4dd20a5be1f0b58e8201ad Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 Apr 2019 09:43:23 +0200 Subject: Fix privacy warning position on mobile --- client/src/app/shared/images/global-icon.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts index 03cf3d7ae..5a3db4531 100644 --- a/client/src/app/shared/images/global-icon.component.ts +++ b/client/src/app/shared/images/global-icon.component.ts @@ -1,4 +1,4 @@ -import { Component, ElementRef, Input, OnInit } from '@angular/core' +import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core' const icons = { 'add': require('../../../assets/images/global/add.html'), @@ -53,7 +53,8 @@ export type GlobalIconName = keyof typeof icons @Component({ selector: 'my-global-icon', template: '', - styleUrls: [ './global-icon.component.scss' ] + styleUrls: [ './global-icon.component.scss' ], + changeDetection: ChangeDetectionStrategy.OnPush }) export class GlobalIconComponent implements OnInit { @Input() iconName: GlobalIconName -- cgit v1.2.3