diff --git a/src/Squidex/app/framework/utils/rxjs-extensions.ts b/src/Squidex/app/framework/utils/rxjs-extensions.ts index 4e54b9f2c..b93664ec6 100644 --- a/src/Squidex/app/framework/utils/rxjs-extensions.ts +++ b/src/Squidex/app/framework/utils/rxjs-extensions.ts @@ -7,8 +7,8 @@ // tslint:disable: only-arrow-functions -import { Observable, throwError } from 'rxjs'; -import { catchError, map, onErrorResumeNext, shareReplay, switchMap } from 'rxjs/operators'; +import { Observable } from 'rxjs'; +import { map, onErrorResumeNext, shareReplay, switchMap } from 'rxjs/operators'; import { DialogService } from './../services/dialog.service'; @@ -26,16 +26,6 @@ export function mapVersioned(project: (value: T, version: Vers }; } -export function notify(dialogs: DialogService) { - return function mapOperation(source: Observable) { - return source.pipe(catchError(error => { - dialogs.notifyError(error); - - return throwError(error); - })); - }; -} - type Options = { silent?: boolean, project?: ((value: T) => R) }; export function shareSubscribed(dialogs: DialogService, options?: Options) { diff --git a/src/Squidex/app/shared/components/asset-uploader.component.html b/src/Squidex/app/shared/components/asset-uploader.component.html index 11d8cd704..abb338d95 100644 --- a/src/Squidex/app/shared/components/asset-uploader.component.html +++ b/src/Squidex/app/shared/components/asset-uploader.component.html @@ -1,4 +1,4 @@ -