1 import { Component, OnInit } from '@angular/core'
2 import { Notifier } from '@app/core'
3 import { Debug } from '@shared/models'
4 import { DebugService } from './debug.service'
7 templateUrl: './debug.component.html',
8 styleUrls: [ './debug.component.scss' ]
10 export class DebugComponent implements OnInit {
14 private debugService: DebugService,
15 private notifier: Notifier
24 this.debugService.getDebug()
26 debug => this.debug = debug,
28 err => this.notifier.error(err.message)