WA-234 See list of TXs after changing the Threshold
This commit is contained in:
parent
666683c086
commit
509134499c
|
@ -64,7 +64,7 @@ class GnoSafe extends React.PureComponent<SafeProps, State> {
|
|||
onEditThreshold = () => {
|
||||
const { safe } = this.props
|
||||
|
||||
this.setState({ component: <Threshold numOwners={safe.get('owners').count()} safe={safe} /> })
|
||||
this.setState({ component: <Threshold numOwners={safe.get('owners').count()} safe={safe} onReset={this.onListTransactions} /> })
|
||||
}
|
||||
|
||||
onAddOwner = (e: SyntheticEvent<HTMLButtonElement>) => {
|
||||
|
|
|
@ -23,7 +23,7 @@ type State = {
|
|||
done: boolean,
|
||||
}
|
||||
|
||||
export const CHANGE_THRESHOLD_RESET_BUTTON_TEXT = 'RESET'
|
||||
export const CHANGE_THRESHOLD_RESET_BUTTON_TEXT = 'SEE TXs'
|
||||
|
||||
class Threshold extends React.PureComponent<Props, State> {
|
||||
state = {
|
||||
|
@ -49,6 +49,7 @@ class Threshold extends React.PureComponent<Props, State> {
|
|||
|
||||
onReset = () => {
|
||||
this.setState({ done: false })
|
||||
this.props.onReset()
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue