Fix ssh command when execited with a wget pipe
[src/xds/xds-server.git] / webapp / src / app / alert / alert.component.ts
index e9d7629..672d7bf 100644 (file)
@@ -1,7 +1,7 @@
 import { Component } from '@angular/core';
 import { Observable } from 'rxjs';
 
-import {AlertService, IAlert} from '../common/alert.service';
+import {AlertService, IAlert} from '../services/alert.service';
 
 @Component({
     selector: 'app-alert',
@@ -9,7 +9,7 @@ import {AlertService, IAlert} from '../common/alert.service';
         <div style="width:80%; margin-left:auto; margin-right:auto;" *ngFor="let alert of (alerts$ | async)">
             <alert *ngIf="alert.show" [type]="alert.type" [dismissible]="alert.dismissible" [dismissOnTimeout]="alert.dismissTimeout"
             (onClose)="onClose(alert)">
-                <span [innerHtml]="alert.msg"></span>
+                <div style="text-align:center;" [innerHtml]="alert.msg"></div>
             </alert>
         </div>
     `