@samitouri / QOSami-HFS / commits / 776b44d6

fix: admin/internet: weird 0 displayed under "Internet" if you are not connected

Massimo Melina committed Dec 1, 2023 at 18:35 UTC 776b44d61f9845cba8723613791c18c99f601dfd
1 file changed +1 -1
admin/src/InternetPage.ts
+1 -1
@@ -218,7 +218,7 @@ export default function InternetPage() {
218 doubleNat && h(LinkBtn, { display: 'block', onClick: () => alertDialog(MSG_ISP, 'warning') }, "Double NAT"),
219 checkResult ? "Working!" : checkResult === false ? "Failed!" : '',
220 ' ',
221 - nat?.publicIps.length && nat.internalPort && h(LinkBtn, { onClick: verify }, "Verify")
221 + nat?.publicIps.length > 0 && nat.internalPort && h(LinkBtn, { onClick: verify }, "Verify")
222 )
223 }),
224 )