http-request-manager 18.11.18 → 18.11.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,7 +52,6 @@ import * as i16 from '@angular/material/card';
|
|
|
52
52
|
import { MatCardModule } from '@angular/material/card';
|
|
53
53
|
import * as i1$2 from '@angular/material/tabs';
|
|
54
54
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
55
|
-
import { ToastDisplay as ToastDisplay$1, ToastColors as ToastColors$1 } from 'toast-message';
|
|
56
55
|
import { DataSource } from '@angular/cdk/collections';
|
|
57
56
|
|
|
58
57
|
var StorageType;
|
|
@@ -7404,10 +7403,10 @@ class FileDownloaderComponent extends HTTPManagerService {
|
|
|
7404
7403
|
onError(message) {
|
|
7405
7404
|
if (!message || !this.displayErrorMessage)
|
|
7406
7405
|
return;
|
|
7407
|
-
const display = ToastDisplay
|
|
7406
|
+
const display = ToastDisplay.adapt({
|
|
7408
7407
|
message,
|
|
7409
7408
|
action: 'Ok',
|
|
7410
|
-
color: ToastColors
|
|
7409
|
+
color: ToastColors.ERROR,
|
|
7411
7410
|
icon: 'error',
|
|
7412
7411
|
});
|
|
7413
7412
|
this.active = false;
|