removed old code for portal
[eliot.git] / blueprints / common / eliot-ui / frontend-src / src / app / deployments / toast.service.ts
diff --git a/blueprints/common/eliot-ui/frontend-src/src/app/deployments/toast.service.ts b/blueprints/common/eliot-ui/frontend-src/src/app/deployments/toast.service.ts
deleted file mode 100644 (file)
index 8cda912..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-import { Injectable, TemplateRef } from '@angular/core';
-
-@Injectable({
-  providedIn: 'root'
-})
-export class ToastService {
-  toasts: any[] = [];
-
-  show(textOrTpl: string | TemplateRef<any>, options: any = {}) {
-    this.toasts.push({ textOrTpl, ...options });
-  }
-
-  remove(toast) {
-    this.toasts = this.toasts.filter(t => t !== toast);
-  }
-  constructor() { }
-}