mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-14 18:22:31 +03:00
fix warnings changedetection
This commit is contained in:
parent
1b6c858ab7
commit
4f746a19e3
|
@ -1,14 +1,13 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import { Component, ChangeDetectionStrategy, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { SpecManager, BaseComponent } from '../base';
|
import { SpecManager, BaseComponent } from '../base';
|
||||||
import { WarningsService, OptionsService } from '../../services/index';
|
import { WarningsService, OptionsService } from '../../services/index';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'warnings',
|
selector: 'warnings',
|
||||||
styleUrls: ['./warnings.css'],
|
styleUrls: ['./warnings.css'],
|
||||||
templateUrl: './warnings.html',
|
templateUrl: './warnings.html'
|
||||||
changeDetection: ChangeDetectionStrategy.OnPush
|
|
||||||
})
|
})
|
||||||
export class Warnings extends BaseComponent implements OnInit {
|
export class Warnings extends BaseComponent implements OnInit {
|
||||||
warnings: Array<string> = [];
|
warnings: Array<string> = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user