WA-238 Adding Daily Limit when displaying the list of safes
This commit is contained in:
parent
d3ab3ec658
commit
69a486a66f
|
@ -39,7 +39,7 @@ const Owners = openHoc(({
|
||||||
<Collapse in={open} timeout="auto" unmountOnExit>
|
<Collapse in={open} timeout="auto" unmountOnExit>
|
||||||
<List component="div" disablePadding>
|
<List component="div" disablePadding>
|
||||||
{owners.map(owner => (
|
{owners.map(owner => (
|
||||||
<ListItem key={owner.address} button className={classes.nested}>
|
<ListItem key={owner.address} className={classes.nested}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<Person />
|
<Person />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
|
|
|
@ -21,6 +21,7 @@ type SafeProps = {
|
||||||
|
|
||||||
const listStyle = {
|
const listStyle = {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
minWidth: '485px',
|
||||||
}
|
}
|
||||||
|
|
||||||
class GnoSafe extends React.PureComponent<SafeProps> {
|
class GnoSafe extends React.PureComponent<SafeProps> {
|
||||||
|
|
|
@ -19,6 +19,7 @@ const SafeTable = ({ safes }: Props) => (
|
||||||
<TableCell>Deployed Address</TableCell>
|
<TableCell>Deployed Address</TableCell>
|
||||||
<TableCell numeric>Confirmations</TableCell>
|
<TableCell numeric>Confirmations</TableCell>
|
||||||
<TableCell numeric>Number of owners</TableCell>
|
<TableCell numeric>Number of owners</TableCell>
|
||||||
|
<TableCell numeric>Daily Limit</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
|
@ -29,10 +30,11 @@ const SafeTable = ({ safes }: Props) => (
|
||||||
<Button variant="raised" size="small" color="primary">Open</Button>
|
<Button variant="raised" size="small" color="primary">Open</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell padding="none">{safe.name}</TableCell>
|
<TableCell padding="none">{safe.get('name')}</TableCell>
|
||||||
<TableCell padding="none">{safe.address}</TableCell>
|
<TableCell padding="none">{safe.get('address')}</TableCell>
|
||||||
<TableCell padding="none" numeric>{safe.confirmations}</TableCell>
|
<TableCell padding="none" numeric>{safe.get('confirmations')}</TableCell>
|
||||||
<TableCell padding="none" numeric>{safe.owners.count()}</TableCell>
|
<TableCell padding="none" numeric>{safe.get('owners').count()}</TableCell>
|
||||||
|
<TableCell padding="none" numeric>{`${safe.get('dailyLimit')} ETH`}</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
))}
|
))}
|
||||||
</TableBody>
|
</TableBody>
|
||||||
|
|
Loading…
Reference in New Issue