Scrolling Enhancements (#2417)
This commit is contained in:
parent
8875bc3585
commit
f4e8daf983
15 changed files with 51 additions and 71 deletions
|
|
@ -80,7 +80,7 @@
|
|||
<p *ngIf="isAddLibrary" class="alert alert-secondary" role="alert">{{t('cover-description')}}</p>
|
||||
<p>{{t('cover-description-extra')}}</p>
|
||||
<app-cover-image-chooser [(imageUrls)]="imageUrls" (imageSelected)="updateCoverImageIndex($event)"
|
||||
(selectedBase64Url)="applyCoverImage($event)" [showReset]="library.coverImage !== undefined "
|
||||
(selectedBase64Url)="applyCoverImage($event)" [showReset]="library.coverImage !== null"
|
||||
(resetClicked)="resetCoverImage()"></app-cover-image-chooser>
|
||||
</ng-template>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -55,9 +55,10 @@ enum StepID {
|
|||
})
|
||||
export class LibrarySettingsModalComponent implements OnInit {
|
||||
|
||||
@Input({required: true}) library!: Library;
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
@Input({required: true}) library!: Library;
|
||||
|
||||
active = TabID.General;
|
||||
imageUrls: Array<string> = [];
|
||||
|
||||
|
|
@ -81,8 +82,8 @@ export class LibrarySettingsModalComponent implements OnInit {
|
|||
isAddLibrary = false;
|
||||
setupStep = StepID.General;
|
||||
|
||||
get Breakpoint() { return Breakpoint; }
|
||||
get TabID() { return TabID; }
|
||||
protected readonly Breakpoint = Breakpoint;
|
||||
protected readonly TabID = TabID;
|
||||
|
||||
constructor(public utilityService: UtilityService, private uploadService: UploadService, private modalService: NgbModal,
|
||||
private settingService: SettingsService, public modal: NgbActiveModal, private confirmService: ConfirmService,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue