mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Fixed an issue where a warning message was shown after database creation/modification. Fixes #7142.
2) Added error boundary to schema view which will improve the exception stack trace details. 3) Fixed Jasmine test cases.
This commit is contained in:
committed by
Akshay Joshi
parent
1a89c1f85f
commit
bc0b25d995
@@ -38,6 +38,7 @@ import FieldSetView from './FieldSetView';
|
||||
import DataGridView from './DataGridView';
|
||||
import { useIsMounted } from '../custom_hooks';
|
||||
import Notify from '../helpers/Notifier';
|
||||
import ErrorBoundary from '../helpers/ErrorBoundary';
|
||||
|
||||
const useDialogStyles = makeStyles((theme)=>({
|
||||
root: {
|
||||
@@ -947,13 +948,17 @@ export default function SchemaView({formType, ...props}) {
|
||||
if(formType === 'tab') {
|
||||
return (
|
||||
<Theme>
|
||||
<SchemaPropertiesView {...props}/>
|
||||
<ErrorBoundary>
|
||||
<SchemaPropertiesView {...props}/>
|
||||
</ErrorBoundary>
|
||||
</Theme>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<Theme>
|
||||
<SchemaDialogView {...props}/>
|
||||
<ErrorBoundary>
|
||||
<SchemaDialogView {...props}/>
|
||||
</ErrorBoundary>
|
||||
</Theme>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user