Merge "fix: Fix for refresh and then delete allowed-address-pair"

This commit is contained in:
Zuul 2021-09-01 07:38:43 +00:00 committed by Gerrit Code Review
commit be03ba1037

View File

@ -23,6 +23,9 @@ import actionConfigs from './actions';
export default class AllowedAddressPair extends Base { export default class AllowedAddressPair extends Base {
init() { init() {
this.store = globalVirtualAdapterStore; this.store = globalVirtualAdapterStore;
// because of the father component use new Store
// so set detail to globalStore to share data
this.store.setDetail(this.props.detail);
} }
getDownloadData = () => this.props.detail.allowed_address_pairs; getDownloadData = () => this.props.detail.allowed_address_pairs;