This is an automated email from the git hooks/post-receive script.
spichugi pushed a commit to branch 389-ds-base-1.4.2 in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.4.2 by this push: new a50b014 Issue 51229 - Server Settings page gets into an unresponsive state a50b014 is described below
commit a50b0149405ad7f851f1807fcda78ab927c4cbbc Author: Simon Pichugin spichugi@redhat.com AuthorDate: Tue Aug 18 15:52:32 2020 +0200
Issue 51229 - Server Settings page gets into an unresponsive state
Bug Description: If we switch the tab in Cockpit UI and restart the instance - we can't go back to the default tab as it's in an unresponsive loading state.
Fix Description: Do the update on ComponentDidUpdate instead of ComponentDidMount.
https://pagure.io/389-ds-base/issue/51229
Reviewed by: mreynolds (Thanks!) --- src/cockpit/389-console/src/server.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cockpit/389-console/src/server.jsx b/src/cockpit/389-console/src/server.jsx index 98cceb6..27193b7 100644 --- a/src/cockpit/389-console/src/server.jsx +++ b/src/cockpit/389-console/src/server.jsx @@ -35,7 +35,7 @@ export class Server extends React.Component { this.selectNode = this.selectNode.bind(this); }
- componentDidMount() { + componentDidUpdate() { if (this.props.wasActiveList.includes(1)) { if (this.state.firstLoad) { this.loadConfig();
389-commits@lists.fedoraproject.org