Set expiry to N/A if error
This commit is contained in:
1 parent
3f4678f5e6
commit
1fc2bd49c8
1 file changed
+1
@@ -95,6 +95,7 @@ const DetailsPage = ({ isAdmin }) => {
|
||||
setCertificateExpiry(formatDateWithTz(date, dateFormat, uiTimezone) ?? "N/A");
|
||||
}
|
||||
} catch (error) {
|
||||
setCertificateExpiry("N/A");
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user