Fix #309. Now both history version selection should work in both admin secrets and project secrets. Also change table row to cursor so make more sense to click.
Set the form value to the state, so that the page is re-rendered when value changed.
A little tricky in the Secrets/paginator.js. Part of render return is wrapped in Query, but we cannot change state in query. I adopt a method using ||. The first time we opened drawer, this.state.formValue will be undefined and will rendered this.form.values()['value']. But after that, these two values will sync.
Fix #309. Now both history version selection should work in both
admin secrets
andproject secrets
. Also change table row to cursor so make more sense to click.Set the form value to the state, so that the page is re-rendered when value changed.
A little tricky in the
Secrets/paginator.js
. Part of render return is wrapped in Query, but we cannot change state in query. I adopt a method using||
. The first time we opened drawer,this.state.formValue
will be undefined and will renderedthis.form.values()['value']
. But after that, these two values will sync.