mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
dependency upgrades, server and platform module updates, linting wip
This commit is contained in:
@@ -14,32 +14,32 @@ import { Item } from "../../core/shared/item.model";
|
||||
*/
|
||||
|
||||
@Component({
|
||||
selector: 'ds-full-item-page',
|
||||
styleUrls: ['./full-item-page.component.css'],
|
||||
templateUrl: './full-item-page.component.html',
|
||||
selector: 'ds-full-item-page',
|
||||
styleUrls: ['./full-item-page.component.scss'],
|
||||
templateUrl: './full-item-page.component.html',
|
||||
})
|
||||
export class FullItemPageComponent extends ItemPageComponent implements OnInit {
|
||||
|
||||
item: RemoteData<Item>;
|
||||
item: RemoteData<Item>;
|
||||
|
||||
metadata: Observable<Array<Metadatum>>;
|
||||
metadata: Observable<Array<Metadatum>>;
|
||||
|
||||
constructor(route: ActivatedRoute, items: ItemDataService) {
|
||||
super(route, items);
|
||||
}
|
||||
constructor(route: ActivatedRoute, items: ItemDataService) {
|
||||
super(route, items);
|
||||
}
|
||||
|
||||
universalInit() {
|
||||
universalInit() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*** AoT inheritance fix, will hopefully be resolved in the near future **/
|
||||
ngOnInit(): void {
|
||||
super.ngOnInit();
|
||||
}
|
||||
/*** AoT inheritance fix, will hopefully be resolved in the near future **/
|
||||
ngOnInit(): void {
|
||||
super.ngOnInit();
|
||||
}
|
||||
|
||||
initialize(params) {
|
||||
super.initialize(params);
|
||||
this.metadata = this.item.payload.map(i => i.metadata);
|
||||
}
|
||||
initialize(params) {
|
||||
super.initialize(params);
|
||||
this.metadata = this.item.payload.map(i => i.metadata);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user