mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-08 03:36:37 +00:00
Fix small ui issues
This commit is contained in:
@@ -43,16 +43,14 @@ export default function DomainInfoCard({
|
|||||||
<InfoSection>
|
<InfoSection>
|
||||||
<InfoSectionTitle>{t("type")}</InfoSectionTitle>
|
<InfoSectionTitle>{t("type")}</InfoSectionTitle>
|
||||||
<InfoSectionContent>
|
<InfoSectionContent>
|
||||||
<span>
|
<span>{getTypeDisplay(type ? type : "")}</span>
|
||||||
{getTypeDisplay(type ? type : "")}
|
|
||||||
</span>
|
|
||||||
</InfoSectionContent>
|
</InfoSectionContent>
|
||||||
</InfoSection>
|
</InfoSection>
|
||||||
<InfoSection>
|
<InfoSection>
|
||||||
<InfoSectionTitle>{t("status")}</InfoSectionTitle>
|
<InfoSectionTitle>{t("status")}</InfoSectionTitle>
|
||||||
<InfoSectionContent>
|
<InfoSectionContent>
|
||||||
{failed ? (
|
{failed ? (
|
||||||
<Badge variant="red" className="ml-2">
|
<Badge variant="red">
|
||||||
{t("failed", { fallback: "Failed" })}
|
{t("failed", { fallback: "Failed" })}
|
||||||
</Badge>
|
</Badge>
|
||||||
) : verified ? (
|
) : verified ? (
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ export default function DomainsTable({ domains, orgId }: Props) {
|
|||||||
);
|
);
|
||||||
} else if (failed) {
|
} else if (failed) {
|
||||||
return (
|
return (
|
||||||
<Badge variant="destructive">
|
<Badge variant="red">
|
||||||
{t("failed", { fallback: "Failed" })}
|
{t("failed", { fallback: "Failed" })}
|
||||||
</Badge>
|
</Badge>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user