SEO and various render fixes.
This commit is contained in:
1 parent
3aee3141ce
commit
12f996753b
7 files changed
+14
-24
No files matched your search
@@ -12,7 +12,7 @@ import { AssetExtended } from '../interfaces/electrs.interface';
|
||||
export class AssetsService {
|
||||
nativeAssetId = this.stateService.network === 'liquidtestnet' ? environment.nativeTestAssetId : environment.nativeAssetId;
|
||||
|
||||
getAssetsJson$: Observable<AssetExtended[]>;
|
||||
getAssetsJson$: Observable<{ array: AssetExtended[]; objects: any}>;
|
||||
getAssetsMinimalJson$: Observable<any>;
|
||||
getMiningPools$: Observable<any>;
|
||||
|
||||
@@ -47,7 +47,10 @@ export class AssetsService {
|
||||
});
|
||||
}
|
||||
|
||||
return assets.sort((a: any, b: any) => a.name.localeCompare(b.name));
|
||||
return {
|
||||
objects: rawAssets,
|
||||
array: assets.sort((a: any, b: any) => a.name.localeCompare(b.name)),
|
||||
};
|
||||
}),
|
||||
shareReplay(1),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user