Add preimage button to externals (#2228)

* Add preimage button to externals

* Skip or on externals
This commit is contained in:
Jaco Greeff 2020-02-03 12:30:29 +01:00 committed by GitHub
parent 0085b436b5
commit 1340ca6430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ import { FormatBalance } from '@polkadot/react-query';
import { Bytes, Option } from '@polkadot/types';
import { useTranslation } from '../translate';
import PreImageButton from './PreImageButton';
import ProposalCell from './ProposalCell';
interface Props {
@ -70,6 +71,13 @@ export default function Externals ({ className }: Props): React.ReactElement<Pro
proposalHash={hash}
proposal={expanded?.proposal}
/>
<td className='together number top'>
<PreImageButton
hash={hash}
proposal={expanded?.proposal}
withoutOr
/>
</td>
</tr>
</Table.Body>
</Table>