diff --git a/site/public/tools/dot-compliance-check/index.html b/site/public/tools/dot-compliance-check/index.html index caec281..d1e9436 100644 --- a/site/public/tools/dot-compliance-check/index.html +++ b/site/public/tools/dot-compliance-check/index.html @@ -253,6 +253,10 @@ Send reset link var labelColor = { green: "text-green-800", yellow: "text-yellow-800", red: "text-red-800", unknown: "text-gray-700" }; function renderResults(data) { + if (!data || !data.legal_name) { + showError("No data returned. The carrier may not exist or the lookup timed out."); + return; + } var html = ''; // Entity header card