File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import { CommonModule } from '@angular/common';
22import { HttpClient } from '@angular/common/http' ;
33import { NgModule } from '@angular/core' ;
44import { BulmaModalModule } from 'ngx-bulma' ;
5+ import { BulmaButtonModule } from 'ngx-bulma' ;
56import { MarkdownModule } from 'ngx-markdown' ;
67import { ModalRoutingModule } from './modal-routing.module' ;
78import { ModalComponent } from './modal.component' ;
8- import { BulmaButtonModule } from 'ngx-bulma' ;
99
1010@NgModule ( {
1111 declarations : [ ModalComponent ] ,
Original file line number Diff line number Diff line change 1- import { Component , OnInit } from '@angular/core' ;
1+ import { ChangeDetectionStrategy , Component , OnInit } from '@angular/core' ;
22
33@Component ( {
44 selector : 'bu-card' ,
55 templateUrl : './card.component.html' ,
6- styleUrls : [ './card.component.css' ]
6+ styleUrls : [ './card.component.css' ] ,
7+ changeDetection : ChangeDetectionStrategy . OnPush ,
78} )
89export class BulmaCardComponent implements OnInit {
10+ constructor ( ) { }
911
10- constructor ( ) { }
11-
12- ngOnInit ( ) {
13- }
14-
12+ ngOnInit ( ) { }
1513}
You can’t perform that action at this time.
0 commit comments