mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-11 18:47:13 +00:00
Improved error notifications
This commit is contained in:
1 parent
0ef3a141a8
commit
423e0768f9
14 files changed
+296
-260
No files matched your search
@@ -32,7 +32,7 @@ export class ToastService {
|
||||
this.toastsSubject.next(this.toasts)
|
||||
}
|
||||
|
||||
showError(content: string, delay: number = 10000, error: any = null) {
|
||||
showError(content: string, error: any = null, delay: number = 10000) {
|
||||
this.show({
|
||||
title: $localize`Error`,
|
||||
content: content,
|
||||
|
||||
Reference in new issue
Block a user