luci-mod-status: use network.getDSLModemType()
authorAndre Heider <a.heider@gmail.com>
Tue, 20 Sep 2022 06:11:44 +0000 (08:11 +0200)
committerAndre Heider <a.heider@gmail.com>
Fri, 21 Oct 2022 07:08:13 +0000 (09:08 +0200)
commit45ab2cd6be0cac32ec49364280bbfa2c43c17eda
treefbf33c7b0ec404f1416b364e0c1311d3e49fb67e
parente019fc5d60cdbb0ff5cc9246371321604ad12fb0
luci-mod-status: use network.getDSLModemType()

This matches what luci-mod-network does for the DSL modem configuration.

Since this is based on a common uci config, it may also prevent issues as
fixed with 111c551c "luci-base: fix DSL feature detection" in the future.

Signed-off-by: Andre Heider <a.heider@gmail.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/50_dsl.js