Client: PortalSettings: fix select common node
This commit is contained in:
parent
7d306d6bde
commit
0ef4129c99
@ -139,6 +139,10 @@ class ArticleBodyContent extends React.Component {
|
||||
if (this.props.location.pathname.includes("payments")) {
|
||||
this.setState({ selectedKeys: ["4-0"] });
|
||||
}
|
||||
|
||||
if (this.props.location.pathname.includes("common")) {
|
||||
this.setState({ selectedKeys: ["0-0"] });
|
||||
}
|
||||
}
|
||||
|
||||
if (!isArrayEqual(prevState.selectedKeys, this.state.selectedKeys)) {
|
||||
|
Loading…
Reference in New Issue
Block a user