mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
ui: Re-hook up regenerate button (#14015)
This commit is contained in:
parent
58eed6b049
commit
17d712c039
@ -20,6 +20,11 @@ export default {
|
||||
}
|
||||
},
|
||||
success: {
|
||||
on: {
|
||||
RESET: {
|
||||
target: 'idle'
|
||||
}
|
||||
}
|
||||
},
|
||||
error: {},
|
||||
},
|
||||
|
@ -52,7 +52,10 @@
|
||||
item=@item
|
||||
token=fsm.state.context.PeeringToken
|
||||
regenerate=@regenerate
|
||||
onclick=(queue (set @item 'Name' ''))
|
||||
onclick=(queue
|
||||
(set @item 'Name' '')
|
||||
(fn fsm.dispatch 'RESET')
|
||||
)
|
||||
)
|
||||
Actions=(component "consul/peer/form/token/actions"
|
||||
token=fsm.state.context.PeeringToken
|
||||
|
Loading…
x
Reference in New Issue
Block a user