diff --git a/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx b/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx index a8b20ff11a..cd25c963b6 100644 --- a/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx +++ b/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx @@ -66,6 +66,10 @@ const StyledDiv = styled.div` text-align: right; text-overflow: ellipsis; } + + > .ui--Labelled > label { + text-transform: none; + } `; export default React.memo(LinkedWrapper); diff --git a/packages/react-components/src/Params/index.ts b/packages/react-components/src/Params/index.ts index 308ac66b98..2b23a0927e 100644 --- a/packages/react-components/src/Params/index.ts +++ b/packages/react-components/src/Params/index.ts @@ -10,7 +10,8 @@ import Proposal from './Proposal'; const components: ComponentMap = { Call, OpaqueCall, - Proposal + Proposal, + RuntimeCall: Call }; export default components; diff --git a/packages/react-params/src/Param/findComponent.ts b/packages/react-params/src/Param/findComponent.ts index fca27739bf..188ff826f4 100644 --- a/packages/react-params/src/Param/findComponent.ts +++ b/packages/react-params/src/Param/findComponent.ts @@ -55,7 +55,7 @@ const componentDef: TypeToComponent[] = [ { c: Balance, t: ['Amount', 'Balance', 'BalanceOf'] }, { c: Bool, t: ['bool'] }, { c: Bytes, t: ['Bytes', 'Vec'] }, - { c: Call, t: ['Call', 'Proposal'] }, + { c: Call, t: ['Call', 'Proposal', 'RuntimeCall'] }, { c: Cid, t: ['PalletAllianceCid'] }, { c: Code, t: ['Code'] }, { c: DispatchError, t: DISPATCH_ERROR }, diff --git a/packages/react-params/src/initValue.ts b/packages/react-params/src/initValue.ts index f8e5fd162f..6be29f2bef 100644 --- a/packages/react-params/src/initValue.ts +++ b/packages/react-params/src/initValue.ts @@ -108,6 +108,7 @@ export default function getInitValue (registry: Registry, def: TypeDef): unknown case 'LookupSource': case 'MisbehaviorReport': case 'Proposal': + case 'RuntimeCall': case 'Signature': case 'SessionKey': case 'StorageKey':