1
0

removed comment

This commit is contained in:
Lotte Hofstede
2017-05-30 11:55:10 +02:00
parent e1b3c971c3
commit abd7ffc97a

View File

@@ -57,7 +57,7 @@ export class Item extends DSpaceObject {
* Retrieves the thumbnail for the given original of this item
* @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");
return bundle
.filter(bundle => hasValue(bundle))