Skip to content

Commit

Permalink
fix: admin/internet: weird 0 displayed under "Internet" if you are no…
Browse files Browse the repository at this point in the history
…t connected
  • Loading branch information
rejetto committed Dec 6, 2023
1 parent 2b762e4 commit 776b44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/src/InternetPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default function InternetPage() {
doubleNat && h(LinkBtn, { display: 'block', onClick: () => alertDialog(MSG_ISP, 'warning') }, "Double NAT"),
checkResult ? "Working!" : checkResult === false ? "Failed!" : '',
' ',
nat?.publicIps.length && nat.internalPort && h(LinkBtn, { onClick: verify }, "Verify")
nat?.publicIps.length > 0 && nat.internalPort && h(LinkBtn, { onClick: verify }, "Verify")
)
}),
)
Expand Down

0 comments on commit 776b44d

Please sign in to comment.