mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-06 12:19:50 +00:00
Fix validation error and bring alias back to table
This commit is contained in:
@@ -142,6 +142,7 @@ const createSiteResourceSchema = z
|
|||||||
data.destinationPort <= 65535)
|
data.destinationPort <= 65535)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
message:
|
message:
|
||||||
|
|||||||
@@ -426,7 +426,7 @@ export default function PrivateResourcesTable({
|
|||||||
),
|
),
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const resourceRow = row.original;
|
const resourceRow = row.original;
|
||||||
if (resourceRow.mode === "host" && resourceRow.alias) {
|
if (resourceRow.alias) {
|
||||||
return (
|
return (
|
||||||
<CopyToClipboard
|
<CopyToClipboard
|
||||||
text={resourceRow.alias}
|
text={resourceRow.alias}
|
||||||
|
|||||||
Reference in New Issue
Block a user