Merge pull request #4941 from tsiegleauq/firefox-amendment-list

Add manual change detection in amendment list
This commit is contained in:
Emanuel Schütze 2019-08-23 08:37:16 +02:00 committed by GitHub
commit b1c02133ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { Component, OnInit } from '@angular/core';
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { MatDialog, MatSnackBar } from '@angular/material';
import { DomSanitizer, SafeHtml, Title } from '@angular/platform-browser';
import { ActivatedRoute } from '@angular/router';
@ -26,7 +26,8 @@ import { ViewMotion } from '../../models/view-motion';
@Component({
selector: 'os-amendment-list',
templateUrl: './amendment-list.component.html',
styleUrls: ['./amendment-list.component.scss']
styleUrls: ['./amendment-list.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AmendmentListComponent extends BaseListViewComponent<ViewMotion> implements OnInit {
private parentMotionId: number;