"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

listable-object-component-loader.component.ts  (dspace-angular-dspace-7.0):listable-object-component-loader.component.ts  (dspace-angular-dspace-7.1)
skipping to change at line 187 skipping to change at line 187
[this.badges.nativeElement], [this.badges.nativeElement],
]); ]);
this.connectInputsAndOutputs(); this.connectInputsAndOutputs();
if ((this.compRef.instance as any).reloadedObject) { if ((this.compRef.instance as any).reloadedObject) {
(this.compRef.instance as any).reloadedObject.pipe(take(1)).subscribe((rel oadedObject: DSpaceObject) => { (this.compRef.instance as any).reloadedObject.pipe(take(1)).subscribe((rel oadedObject: DSpaceObject) => {
if (reloadedObject) { if (reloadedObject) {
this.compRef.destroy(); this.compRef.destroy();
this.object = reloadedObject; this.object = reloadedObject;
this.connectInputsAndOutputs(); this.instantiateComponent(reloadedObject);
this.contentChange.emit(reloadedObject); this.contentChange.emit(reloadedObject);
} }
}); });
} }
} }
/** /**
* Initialize which badges should be visible in the listable component * Initialize which badges should be visible in the listable component
*/ */
initBadges() { initBadges() {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)