diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 510b46af8..56cfa9ae4 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -2302,11 +2302,11 @@ src/app/components/document-detail/document-detail.component.ts - 1160 + 1152 src/app/components/document-detail/document-detail.component.ts - 1201 + 1193 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -5489,7 +5489,7 @@ src/app/components/document-detail/document-detail.component.ts - 1178 + 1170 src/app/guards/dirty-saved-view.guard.ts @@ -5967,32 +5967,25 @@ 1113 - - Split operation will begin in the background. After its completion, the document will be deleted. - - src/app/components/document-detail/document-detail.component.ts - 1130 - - Split operation will begin in the background. src/app/components/document-detail/document-detail.component.ts - 1136 + 1129 Error executing split operation src/app/components/document-detail/document-detail.component.ts - 1146 + 1138 Rotate confirm src/app/components/document-detail/document-detail.component.ts - 1158 + 1150 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -6003,49 +5996,49 @@ This operation will permanently rotate the original version of the current document. src/app/components/document-detail/document-detail.component.ts - 1159 + 1151 Rotation will begin in the background. Close and re-open the document after the operation has completed to see the changes. src/app/components/document-detail/document-detail.component.ts - 1175 + 1167 Error executing rotate operation src/app/components/document-detail/document-detail.component.ts - 1187 + 1179 Delete pages confirm src/app/components/document-detail/document-detail.component.ts - 1199 + 1191 This operation will permanently delete the selected pages from the original document. src/app/components/document-detail/document-detail.component.ts - 1200 + 1192 Delete pages operation will begin in the background. Close and re-open or reload this document after the operation has completed to see the changes. src/app/components/document-detail/document-detail.component.ts - 1215 + 1207 Error executing delete pages operation src/app/components/document-detail/document-detail.component.ts - 1224 + 1216 diff --git a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts index d7f106dea..1530620e1 100644 --- a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts +++ b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts @@ -5,7 +5,6 @@ import { DocumentService } from 'src/app/services/rest/document.service' import { PermissionsService } from 'src/app/services/permissions.service' import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop' import { Subject, takeUntil } from 'rxjs' -import { tap } from 'rxjs/operators' import { Document } from 'src/app/data/document' @Component({ diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index 7278ba0b9..376153597 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -1125,18 +1125,10 @@ export class DocumentDetailComponent .pipe(first(), takeUntil(this.unsubscribeNotifier)) .subscribe({ next: () => { - if (modal.componentInstance.deleteOriginal) { - this.toastService.showInfo( - $localize`Split operation will begin in the background. After its completion, the document will be deleted.` - ) - modal.close() - this.close() - } else { - this.toastService.showInfo( - $localize`Split operation will begin in the background.` - ) - modal.close() - } + this.toastService.showInfo( + $localize`Split operation will begin in the background.` + ) + modal.close() }, error: (error) => { if (modal) {