mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
26 lines
592 B
TypeScript
26 lines
592 B
TypeScript
import {
|
|
Component,
|
|
Input,
|
|
OnInit,
|
|
} from '@angular/core';
|
|
|
|
import { Item } from '../../../core/shared/item.model';
|
|
import { MetadataMap } from '../../../core/shared/metadata.models';
|
|
|
|
@Component({
|
|
selector: 'ds-modify-item-overview',
|
|
templateUrl: './modify-item-overview.component.html',
|
|
})
|
|
/**
|
|
* Component responsible for rendering a table containing the metadatavalues from the to be edited item
|
|
*/
|
|
export class ModifyItemOverviewComponent implements OnInit {
|
|
|
|
@Input() item: Item;
|
|
metadata: MetadataMap;
|
|
|
|
ngOnInit(): void {
|
|
this.metadata = this.item.metadata;
|
|
}
|
|
}
|