luci-mod-dashboard: code spelling
authorPaul Donald <newtwen+github@gmail.com>
Mon, 16 Dec 2024 20:52:20 +0000 (21:52 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Mon, 16 Dec 2024 20:52:20 +0000 (21:52 +0100)
Closes #7477

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/20_lan.js

index 27ecc0f7bff905aa023c43e1046cf1c0b9f72c75..1e9d5a7a47d60e639621d82dc966afc7f2b9b82b 100644 (file)
@@ -46,25 +46,25 @@ return baseclass.extend({
                ]));
 
                for(var idx in this.params.lan.devices) {
-                       var deivce = this.params.lan.devices[idx];
+                       var device = this.params.lan.devices[idx];
 
                        container_deviceslist.appendChild(E('tr', { 'class': 'tr cbi-rowstyle-1'}, [
 
                                E('td', { 'class': 'td device-info'}, [
                                        E('p', {}, [
-                                               E('span', { 'class': 'd-inline-block'}, [ deivce.hostname ]),
+                                               E('span', { 'class': 'd-inline-block'}, [ device.hostname ]),
                                        ]),
                                ]),
 
                                E('td', { 'class': 'td device-info'}, [
                                        E('p', {}, [
-                                               E('span', { 'class': 'd-inline-block'}, [ deivce.ipv4 ]),
+                                               E('span', { 'class': 'd-inline-block'}, [ device.ipv4 ]),
                                        ]),
                                ]),
 
                                E('td', { 'class': 'td device-info'}, [
                                        E('p', {}, [
-                                               E('span', { 'class': 'd-inline-block'}, [ deivce.macaddr ]),
+                                               E('span', { 'class': 'd-inline-block'}, [ device.macaddr ]),
                                        ]),
                                ])
                        ]));