s/Chilled/Renomination required/ (#3375)
* s/Chillded/Renomination required/ * Keep active/inactive
This commit is contained in:
parent
19ebdf84a9
commit
e3f4b4c6df
@ -30,9 +30,9 @@ function ListNominees ({ nominating, stashId }: Props): React.ReactElement<Props
|
||||
))}
|
||||
</Expander>
|
||||
)}
|
||||
{nomsChilled && nomsChilled.length !== 0 && (
|
||||
<Expander summary={t<string>('Chilled nominations ({{count}})', { replace: { count: nomsChilled.length } })}>
|
||||
{nomsChilled.map((nomineeId, index): React.ReactNode => (
|
||||
{nomsInactive && nomsInactive.length !== 0 && (
|
||||
<Expander summary={t<string>('Inactive nominations ({{count}})', { replace: { count: nomsInactive.length } })}>
|
||||
{nomsInactive.map((nomineeId, index): React.ReactNode => (
|
||||
<AddressMini
|
||||
key={index}
|
||||
value={nomineeId}
|
||||
@ -41,9 +41,9 @@ function ListNominees ({ nominating, stashId }: Props): React.ReactElement<Props
|
||||
))}
|
||||
</Expander>
|
||||
)}
|
||||
{nomsInactive && nomsInactive.length !== 0 && (
|
||||
<Expander summary={t<string>('Inactive nominations ({{count}})', { replace: { count: nomsInactive.length } })}>
|
||||
{nomsInactive.map((nomineeId, index): React.ReactNode => (
|
||||
{nomsChilled && nomsChilled.length !== 0 && (
|
||||
<Expander summary={t<string>('Renomination required ({{count}})', { replace: { count: nomsChilled.length } })}>
|
||||
{nomsChilled.map((nomineeId, index): React.ReactNode => (
|
||||
<AddressMini
|
||||
key={index}
|
||||
value={nomineeId}
|
||||
|
||||
@ -55,7 +55,7 @@ function NominatedBy ({ nominators, slashingSpans }: Props): React.ReactElement<
|
||||
</Expander>
|
||||
)}
|
||||
{chilled.length !== 0 && (
|
||||
<Expander summary={t<string>('Chilled ({{count}})', { replace: { count: formatNumber(chilled.length) } })}>
|
||||
<Expander summary={t<string>('Renomination required ({{count}})', { replace: { count: formatNumber(chilled.length) } })}>
|
||||
{chilled.map((who): React.ReactNode =>
|
||||
<AddressMini
|
||||
key={who}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user