Display DNS URLs in overview tab

This commit is contained in:
Neeraj 2024-10-22 10:44:15 +05:30
parent 65405213b6
commit 76d72a72c6

View File

@ -129,7 +129,10 @@ const OverviewTabPanel = () => {
<Heading className="text-lg leading-6 font-medium truncate"> <Heading className="text-lg leading-6 font-medium truncate">
{project.name} {project.name}
</Heading> </Heading>
{project.baseDomains && project.baseDomains.length > 0 && project.baseDomains.map((baseDomain, index) => ( {project.baseDomains &&
project.baseDomains.length > 0 &&
project.baseDomains.map((baseDomain, index) => (
<p>
<a <a
key={index} key={index}
href={`https://${project.name}.${baseDomain}`} href={`https://${project.name}.${baseDomain}`}
@ -137,6 +140,7 @@ const OverviewTabPanel = () => {
> >
{baseDomain} {baseDomain}
</a> </a>
</p>
))} ))}
</div> </div>
</div> </div>