juci-wireless: do not show autochannel button if scantimer == 0 refs #14987
[juci.git] / plugins / juci-wireless / src / pages / wireless-devices.js
index 2b73f71..d7055c7 100644 (file)
@@ -46,7 +46,7 @@ JUCI.app
                        }
                ];
                if(show_button){
-                       if(dev.channel.value !== "auto")
+                       if(dev.channel.value !== "auto" || dev.scantimer.value === 0)
                                return;
                        dev.$buttons.push({
                                label: $tr(gettext("Force Channel Selection")),