108588: Fixed browse by date tab's year dropdown always being empty

- The data passed to the injector in BrowseByComponent was not updated by ngOnChanges
- Also refactored the injector logic to StartsWithLoaderComponent
This commit is contained in:
Alexandre Vryghem
2024-01-28 23:18:13 +01:00
parent 6f51bd866c
commit 6e29f306a7
11 changed files with 167 additions and 130 deletions

View File

@@ -282,6 +282,7 @@ import {
import { BitstreamListItemComponent } from './object-list/bitstream-list-item/bitstream-list-item.component';
import { NgxPaginationModule } from 'ngx-pagination';
import { DynamicComponentLoaderDirective } from './abstract-component-loader/dynamic-component-loader.directive';
import { StartsWithLoaderComponent } from './starts-with/starts-with-loader.component';
const MODULES = [
CommonModule,
@@ -374,7 +375,7 @@ const COMPONENTS = [
ThemedStatusBadgeComponent,
BadgesComponent,
ThemedBadgesComponent,
StartsWithLoaderComponent,
ItemSelectComponent,
CollectionSelectComponent,
MetadataRepresentationLoaderComponent,