Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ closeModal
Function
closeModal
web/pgadmin/static/js/helpers/ModalProvider.jsx:151–155 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
149
};
150
151
const closeModal = (id) => {
152
setModals((prev) => {
153
return prev.filter((o) => o.id != id);
154
});
155
};
156
157
const fullScreenModal = (fullScreen) => {
158
setModals((prev) => [...prev, {
Callers
15
onSaveClick
Method · 0.85
showConnectServer
Function · 0.85
closePromotionWarning
Function · 0.85
checkUnderlineQueryCursorWarning
Function · 0.85
ConfirmExecuteQueryContent
Function · 0.85
ConfirmTransactionContent
Function · 0.85
CloseRunningDialog
Function · 0.85
connectServer
Function · 0.85
ConfirmPromotionContent
Function · 0.85
onOkClickClose
Function · 0.85
handleOkClose
Function · 0.85
onOkClick
Function · 0.85
Calls
2
filter
Method · 0.80
onClose
Function · 0.50
Tested by
no test coverage detected