Ensure that the correct error message in ERD for permission denied should be shown. #5537

This commit is contained in:
Aditya Toshniwal
2022-11-16 14:37:54 +05:30
committed by GitHub
parent 749138791a
commit 2ab5d2b647
3 changed files with 7 additions and 4 deletions

View File

@@ -286,8 +286,7 @@ class ERDTool extends React.Component {
}
handleAxiosCatch(err) {
console.error(err);
Notify.alert(gettext('Error'), parseApiError(err));
this.context.alert(gettext('Error'), parseApiError(err));
}
async componentDidMount() {