X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=webapp%2Fsrc%2Fapp%2Falert%2Falert.component.ts;fp=webapp%2Fsrc%2Fapp%2Falert%2Falert.component.ts;h=0000000000000000000000000000000000000000;hb=b0d130807fb9bf36f5ac1abe21cbd558eb86d5cc;hp=06c9bf58b2c8ad5685f7eaa67f772c50f5307d36;hpb=fb2f6b918beb0a994ad304bfd678ef0c5c562210;p=src%2Fxds%2Fxds-agent.git diff --git a/webapp/src/app/alert/alert.component.ts b/webapp/src/app/alert/alert.component.ts deleted file mode 100644 index 06c9bf5..0000000 --- a/webapp/src/app/alert/alert.component.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Component, ViewEncapsulation } from '@angular/core'; -import { Observable } from 'rxjs/Observable'; - -import { AlertService, IAlert } from '../services/alert.service'; - -@Component({ - selector: 'app-alert', - template: ` -
- -
-
-
-`, -}) - -export class AlertComponent { - - alerts$: Observable; - - constructor(private alertSvr: AlertService) { - this.alerts$ = this.alertSvr.alerts; - } - - onClose(al) { - this.alertSvr.del(al); - } - -}