forked from hazza/dspace-angular
removed comment
This commit is contained in:
@@ -57,7 +57,7 @@ export class Item extends DSpaceObject {
|
|||||||
* Retrieves the thumbnail for the given original of this item
|
* Retrieves the thumbnail for the given original of this item
|
||||||
* @returns {Observable<Bitstream>} the primaryBitstream of the "THUMBNAIL" bundle
|
* @returns {Observable<Bitstream>} the primaryBitstream of the "THUMBNAIL" bundle
|
||||||
*/
|
*/
|
||||||
getThumbnailForOriginal(original: Bitstream): Observable<Bitstream> { //returns obs of obs of bitstream instead...
|
getThumbnailForOriginal(original: Bitstream): Observable<Bitstream> {
|
||||||
const bundle: Observable<Bundle> = this.getBundle("THUMBNAIL");
|
const bundle: Observable<Bundle> = this.getBundle("THUMBNAIL");
|
||||||
return bundle
|
return bundle
|
||||||
.filter(bundle => hasValue(bundle))
|
.filter(bundle => hasValue(bundle))
|
||||||
|
Reference in New Issue
Block a user