MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / handleClose

Function handleClose

web/pgadmin/static/js/helpers/appAutoUpdateNotifier.jsx:48–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47function UpdateWarningNotifier({desc, title, onClose, onClick, status, uniqueKey}) {
48 const handleClose = () => {
49 if (onClose) onClose();
50 if (uniqueKey) {
51 activeWarningKeys.delete(uniqueKey);
52 }
53 };
54 return (
55 <StyledBox className={'UpdateWarningNotifier-containerWarning'} data-test={'Update-popup-warning'}>
56 <Box display="flex" justifyContent="space-between" className='UpdateWarningNotifier-containerHeader'>

Callers 1

UpdateWarningNotifierFunction · 0.85

Calls 2

onCloseFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected