Random cleanup stuff

This commit is contained in:
shamoon 2025-11-04 10:29:19 -08:00
parent 526922067e
commit cf3647d6ff
No known key found for this signature in database
3 changed files with 2 additions and 5 deletions

View File

@ -51,7 +51,7 @@
<div class="input-group w-100 mt-2">
<label class="input-group-text" for="addLink"><ng-container i18n>Expires</ng-container>:</label>
<select class="form-select fs-6" [(ngModel)]="expirationDays">
@for (option of EXPIRATION_OPTIONS; track option) {
@for (option of expirationOptions; track option) {
<option [ngValue]="option.value">{{ option.label }}</option>
}
</select>

View File

@ -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`

View File

@ -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',