Merge branch 'develop' into fix/colorful-revamp-extravaganza
This commit is contained in:
commit
bddca58a37
16 files changed
+319
-89
No files matched your search
@@ -172,6 +172,9 @@ const DetailsPage = ({ isAdmin }) => {
|
||||
|
||||
useEffect(() => {
|
||||
const fetchCertificate = async () => {
|
||||
if (monitor?.type !== "http") {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const res = await networkService.getCertificateExpiry(
|
||||
authToken,
|
||||
@@ -183,7 +186,7 @@ const DetailsPage = ({ isAdmin }) => {
|
||||
}
|
||||
};
|
||||
fetchCertificate();
|
||||
}, [authToken, monitorId]);
|
||||
}, [authToken, monitorId, monitor]);
|
||||
|
||||
let loading = Object.keys(monitor).length === 0;
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user