🍉 Sync 2024-02-16 09:00:38

This commit is contained in:
github-actions[bot] 2024-02-16 09:00:38 +08:00
parent e74d6b413e
commit af31ce14b0

View File

@ -819,7 +819,8 @@ return view.extend({
so.optional = true;
Object.values(L.uci.sections('dhcp', 'dnsmasq')).forEach(function(val, index) {
so.value(generateDnsmasqInstanceEntry(val));
var name, display_str = generateDnsmasqInstanceEntry(val);
so.value(index, display_str);
});
o = s.taboption('srvhosts', form.SectionValue, '__srvhosts__', form.TableSection, 'srvhost', null,
@ -1097,7 +1098,8 @@ return view.extend({
so.optional = true;
Object.values(L.uci.sections('dhcp', 'dnsmasq')).forEach(function(val, index) {
so.value(generateDnsmasqInstanceEntry(val));
var name, display_str = generateDnsmasqInstanceEntry(val);
so.value(index, display_str);
});