mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-07 11:45:07 -05:00
Allow users to convert View/Edit table into a Query tool to enable editing the SQL generated. #5908
This commit is contained in:
@@ -271,7 +271,7 @@ function ModalContainer({ id, title, content, dialogHeight, dialogWidth, onClose
|
||||
return;
|
||||
}
|
||||
useModalRef.closeModal(id);
|
||||
if(reason == 'escapeKeyDown') {
|
||||
if(reason == 'escapeKeyDown' || reason == undefined) {
|
||||
onClose?.();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user