mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the correct error message in ERD for permission denied should be shown. #5537
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user