MCPcopy 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

onSaveClickMethod · 0.85
showConnectServerFunction · 0.85
closePromotionWarningFunction · 0.85
CloseRunningDialogFunction · 0.85
connectServerFunction · 0.85
ConfirmPromotionContentFunction · 0.85
onOkClickCloseFunction · 0.85
handleOkCloseFunction · 0.85
onOkClickFunction · 0.85

Calls 2

filterMethod · 0.80
onCloseFunction · 0.50

Tested by

no test coverage detected