Commit 994d34e6 by zhaochengxiang

namespace

parent 6fc3d689
...@@ -140,7 +140,7 @@ class Model extends React.Component { ...@@ -140,7 +140,7 @@ class Model extends React.Component {
const params = { const params = {
pdsDataServiceCatalogId: catalogId, pdsDataServiceCatalogId: catalogId,
namespace: `${this.props.app?.domainId}` namespace: `${this.props.app?.env?.domainId}`
}; };
if (currentModelState !== '') { if (currentModelState !== '') {
...@@ -162,7 +162,7 @@ class Model extends React.Component { ...@@ -162,7 +162,7 @@ class Model extends React.Component {
type: 'pds.getStateServices', type: 'pds.getStateServices',
payload: { payload: {
pdsDataServiceCatalogId: catalogId, pdsDataServiceCatalogId: catalogId,
namespace: `${this.props.app?.domainId}` namespace: `${this.props.app?.env?.domainId}`
}, },
callback: data => { callback: data => {
this.setState({ loadingTableData: false, tableData: data.pdsdataServices||[], filterTableData: data.pdsdataServices||[] }); this.setState({ loadingTableData: false, tableData: data.pdsdataServices||[], filterTableData: data.pdsdataServices||[] });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment