Skip to content
Snippets Groups Projects
Commit 577ddbbc authored by Damian Janus's avatar Damian Janus
Browse files

fix dialog to have ability to close it

parent 7d55f97b
No related branches found
No related tags found
2 merge requests!348Develop,!344Resolve "Cannot close the activity log popup on the Community Page"
......@@ -28,7 +28,7 @@ class Dialogs extends PureComponent {
};
}
componentDidUpdate(prevProps) {
UNSAFE_componentWillUpdate(prevProps) {
const { active_dialogs, hide } = prevProps;
active_dialogs.forEach((v, k) => {
if (!this['hide_' + k]) this['hide_' + k] = () => hide(k);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment