Fix validation error and bring alias back to table

This commit is contained in:
Owen
2026-06-05 11:20:32 -07:00
parent 65470fb64b
commit ad0e800d8d
2 changed files with 2 additions and 1 deletions

View File

@@ -142,6 +142,7 @@ const createSiteResourceSchema = z
data.destinationPort <= 65535)
);
}
return true;
},
{
message:

View File

@@ -426,7 +426,7 @@ export default function PrivateResourcesTable({
),
cell: ({ row }) => {
const resourceRow = row.original;
if (resourceRow.mode === "host" && resourceRow.alias) {
if (resourceRow.alias) {
return (
<CopyToClipboard
text={resourceRow.alias}