Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2f0180e

Browse files
committed
rm extraneous null check
1 parent8338af3 commit2f0180e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎site/src/modules/resources/AgentDevcontainerCard.tsx‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ export const AgentDevcontainerCard: FC<AgentDevcontainerCardProps> = ({
5454
container.ports.map((port)=>{
5555
constportLabel=`${port.port}/${port.network.toUpperCase()}`;
5656
consthasHostBind=
57-
port.host_port!==undefined&&
58-
port.host_port!==null&&
59-
port.host_ip!==undefined&&
60-
port.host_ip!==null;
57+
port.host_port!==undefined&&port.host_ip!==undefined;
6158
consthelperText=hasHostBind
6259
?`${port.host_ip}:${port.host_port}`
6360
:"Not bound to host";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp