Skip to content

Commit e38f07d

Browse files
committed
fix(dashboard): handle optional serverId in RemoveContainerDialog
- Updated the serverId prop in RemoveContainerDialog to default to undefined if not provided, ensuring better handling of optional values.
1 parent 035d39e commit e38f07d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/dokploy/components/dashboard/docker/show

apps/dokploy/components/dashboard/docker/show/colums.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export const columns: ColumnDef<Container>[] = [
130130
</DockerTerminalModal>
131131
<RemoveContainerDialog
132132
containerId={container.containerId}
133-
serverId={container.serverId}
133+
serverId={container.serverId ?? undefined}
134134
/>
135135
</DropdownMenuContent>
136136
</DropdownMenu>

0 commit comments

Comments
 (0)