File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export class MosaicService {
4949 mosaicsView ( mosaicIds : MosaicId [ ] ) : Observable < MosaicView [ ] > {
5050 return observableOf ( mosaicIds ) . pipe (
5151 mergeMap ( ( _ ) => this . mosaicHttp . getMosaics ( mosaicIds ) . pipe (
52+ mergeMap ( ( _ ) => _ ) ,
5253 map ( ( mosaicInfo : MosaicInfo ) => {
5354 return new MosaicView ( mosaicInfo ) ;
5455 } ) ,
@@ -66,7 +67,7 @@ export class MosaicService {
6667 mergeMap ( ( mosaic : Mosaic ) => this . mosaicsView ( [ mosaic . id ] ) . pipe (
6768 filter ( ( _ ) => _ . length !== 0 ) ,
6869 map < MosaicView [ ] , MosaicAmountView > ( ( mosaicViews ) => {
69- return new MosaicAmountView ( mosaicViews [ 0 ] . mosaicInfo [ 0 ] , mosaic . amount ) ;
70+ return new MosaicAmountView ( mosaicViews [ 0 ] . mosaicInfo , mosaic . amount ) ;
7071 } ) ,
7172 toArray ( ) ) ) ) ;
7273 }
You can’t perform that action at this time.
0 commit comments