From b421f04a3f4cc8c9bf985842420a10ee12b99de3 Mon Sep 17 00:00:00 2001 From: zhuyue Date: Wed, 1 Sep 2021 14:28:09 +0800 Subject: [PATCH] fix: Fix for refresh and then delete allowed-address-pair fix for refresh and then delete allowed-address-pair Change-Id: I90103a394cbb01c02c31a278f0413c12560752ca --- .../VirtualAdapter/Detail/AllowedAddressPair/index.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/network/containers/VirtualAdapter/Detail/AllowedAddressPair/index.jsx b/src/pages/network/containers/VirtualAdapter/Detail/AllowedAddressPair/index.jsx index 9cbb0a0c..1155f0af 100644 --- a/src/pages/network/containers/VirtualAdapter/Detail/AllowedAddressPair/index.jsx +++ b/src/pages/network/containers/VirtualAdapter/Detail/AllowedAddressPair/index.jsx @@ -23,6 +23,9 @@ import actionConfigs from './actions'; export default class AllowedAddressPair extends Base { init() { 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;