mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-18 01:45:17 +00:00
fix: handle potential null values for publishMode in ShowPorts component
This commit is contained in:
@@ -70,7 +70,7 @@ export const ShowPorts = ({ applicationId }: Props) => {
|
|||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
<span className="font-medium">Published Port Mode</span>
|
<span className="font-medium">Published Port Mode</span>
|
||||||
<span className="text-sm text-muted-foreground">
|
<span className="text-sm text-muted-foreground">
|
||||||
{port.publishMode.toUpperCase()}
|
{port?.publishMode?.toUpperCase()}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
|
|||||||
Reference in New Issue
Block a user