WA-234 See list of TXs after changing the Threshold

This commit is contained in:
apanizo 2018-06-08 12:34:58 +02:00
parent 666683c086
commit 509134499c
2 changed files with 3 additions and 2 deletions

View File

@ -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>) => {

View File

@ -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() {