Disbale identity (#2016)

This commit is contained in:
Jaco Greeff
2020-03-09 14:12:52 +01:00
committed by GitHub
parent 385d157f3f
commit 5b40d95b0f
11 changed files with 91 additions and 76 deletions
@@ -63,7 +63,7 @@ function parse (api: ApiInterfaceRx, { depositors, proposals, preimages }: Resul
export function proposals (api: ApiInterfaceRx): () => Observable<DeriveProposal[]> {
return memo((): Observable<DeriveProposal[]> =>
api.query.democracy?.publicProps
api.query.democracy?.publicProps && api.query.democracy?.preimages
? api.query.democracy.publicProps<Proposals>().pipe(
switchMap((proposals) =>
combineLatest([