From cf3647d6ffd7e4f6d444cc1f49363ba8d7c59b59 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Tue, 4 Nov 2025 10:29:19 -0800
Subject: [PATCH] Random cleanup stuff
---
.../share-links-dialog/share-links-dialog.component.html | 2 +-
.../common/share-links-dialog/share-links-dialog.component.ts | 2 +-
.../document-list/bulk-editor/bulk-editor.component.ts | 3 ---
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.html b/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.html
index fe3f9b9c3..e41a897a8 100644
--- a/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.html
+++ b/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.html
@@ -51,7 +51,7 @@
diff --git a/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.ts b/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.ts
index 813dbd2cf..9df3d438b 100644
--- a/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.ts
+++ b/src-ui/src/app/components/common/share-links-dialog/share-links-dialog.component.ts
@@ -25,7 +25,7 @@ export class ShareLinksDialogComponent implements OnInit {
private toastService = inject(ToastService)
private clipboard = inject(Clipboard)
- EXPIRATION_OPTIONS = SHARE_LINK_EXPIRATION_OPTIONS
+ readonly expirationOptions = SHARE_LINK_EXPIRATION_OPTIONS
@Input()
title = $localize`Share Links`
diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts
index 53aa7c22f..7748b7676 100644
--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts
+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts
@@ -912,9 +912,6 @@ export class BulkEditorComponent
}
shareSelected() {
- const selectedDocuments = this.list.documents.filter((d) =>
- this.list.selected.has(d.id)
- )
const modal = this.modalService.open(ShareBundleDialogComponent, {
backdrop: 'static',
size: 'lg',