Don't transform LinkedWrapper labels (#8970)
This commit is contained in:
parent
7cc52b2050
commit
a962768eb2
@ -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);
|
||||
|
||||
@ -10,7 +10,8 @@ import Proposal from './Proposal';
|
||||
const components: ComponentMap = {
|
||||
Call,
|
||||
OpaqueCall,
|
||||
Proposal
|
||||
Proposal,
|
||||
RuntimeCall: Call
|
||||
};
|
||||
|
||||
export default components;
|
||||
|
||||
@ -55,7 +55,7 @@ const componentDef: TypeToComponent[] = [
|
||||
{ c: Balance, t: ['Amount', 'Balance', 'BalanceOf'] },
|
||||
{ c: Bool, t: ['bool'] },
|
||||
{ c: Bytes, t: ['Bytes', 'Vec<u8>'] },
|
||||
{ c: Call, t: ['Call', 'Proposal'] },
|
||||
{ c: Call, t: ['Call', 'Proposal', 'RuntimeCall'] },
|
||||
{ c: Cid, t: ['PalletAllianceCid'] },
|
||||
{ c: Code, t: ['Code'] },
|
||||
{ c: DispatchError, t: DISPATCH_ERROR },
|
||||
|
||||
@ -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':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user