Merge branch 'canary' into fix/envs-array-templates

This commit is contained in:
Mauricio Siu
2025-03-11 00:38:50 -06:00
2 changed files with 3 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ export const ShowProjects = () => {
target="_blank" target="_blank"
href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`} href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`}
> >
<span>{domain.host}</span> <span className="truncate">{domain.host}</span>
<ExternalLinkIcon className="size-4 shrink-0" /> <ExternalLinkIcon className="size-4 shrink-0" />
</Link> </Link>
</DropdownMenuItem> </DropdownMenuItem>
@@ -222,7 +222,7 @@ export const ShowProjects = () => {
target="_blank" target="_blank"
href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`} href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`}
> >
<span>{domain.host}</span> <span className="truncate">{domain.host}</span>
<ExternalLinkIcon className="size-4 shrink-0" /> <ExternalLinkIcon className="size-4 shrink-0" />
</Link> </Link>
</DropdownMenuItem> </DropdownMenuItem>

View File

@@ -223,7 +223,7 @@ export function processMounts(
): Template["mounts"] { ): Template["mounts"] {
if (!template?.config?.mounts) return []; if (!template?.config?.mounts) return [];
return template.config.mounts.map((mount: MountConfig) => ({ return template?.config?.mounts?.map((mount: MountConfig) => ({
filePath: processValue(mount.filePath, variables, schema), filePath: processValue(mount.filePath, variables, schema),
content: processValue(mount.content, variables, schema), content: processValue(mount.content, variables, schema),
})); }));