mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-11-13 01:56:41 -05:00
Random cleanup stuff
This commit is contained in:
parent
526922067e
commit
cf3647d6ff
@ -51,7 +51,7 @@
|
|||||||
<div class="input-group w-100 mt-2">
|
<div class="input-group w-100 mt-2">
|
||||||
<label class="input-group-text" for="addLink"><ng-container i18n>Expires</ng-container>:</label>
|
<label class="input-group-text" for="addLink"><ng-container i18n>Expires</ng-container>:</label>
|
||||||
<select class="form-select fs-6" [(ngModel)]="expirationDays">
|
<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>
|
<option [ngValue]="option.value">{{ option.label }}</option>
|
||||||
}
|
}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@ -25,7 +25,7 @@ export class ShareLinksDialogComponent implements OnInit {
|
|||||||
private toastService = inject(ToastService)
|
private toastService = inject(ToastService)
|
||||||
private clipboard = inject(Clipboard)
|
private clipboard = inject(Clipboard)
|
||||||
|
|
||||||
EXPIRATION_OPTIONS = SHARE_LINK_EXPIRATION_OPTIONS
|
readonly expirationOptions = SHARE_LINK_EXPIRATION_OPTIONS
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
title = $localize`Share Links`
|
title = $localize`Share Links`
|
||||||
|
|||||||
@ -912,9 +912,6 @@ export class BulkEditorComponent
|
|||||||
}
|
}
|
||||||
|
|
||||||
shareSelected() {
|
shareSelected() {
|
||||||
const selectedDocuments = this.list.documents.filter((d) =>
|
|
||||||
this.list.selected.has(d.id)
|
|
||||||
)
|
|
||||||
const modal = this.modalService.open(ShareBundleDialogComponent, {
|
const modal = this.modalService.open(ShareBundleDialogComponent, {
|
||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
size: 'lg',
|
size: 'lg',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user