Commit d2248c4f authored by Janis Streib's avatar Janis Streib 🦉

ADD: even better prefill for legacy blaming badges

parent adec97cd
Pipeline #138976 passed with stages
in 4 minutes and 42 seconds
......@@ -178,7 +178,9 @@
</b-td>
</b-tr>
<b-tr>
<b-th>Gateways (geschätzt anhand von VLAN-Interfaces. <a href="https://git.scc.kit.edu/scc-net/netvs/netvs-core/-/issues/264">Nicht immer korrekt.</a>)</b-th>
<b-th>Gateways (geschätzt anhand von VLAN-Interfaces. <a
href="https://git.scc.kit.edu/scc-net/netvs/netvs-core/-/issues/264">Nicht immer korrekt.</a>)
</b-th>
<b-td>
<code v-for="g in gateways" v-bind:key="g.ip_addr">{{ g.ip_addr }}<br/></code>
</b-td>
......@@ -320,7 +322,7 @@
</b-td>
<b-td>
<RRDataView :item="item"></RRDataView>
<b-badge href="#" @click="createItem('AAAA', '', item.fqdn)"
<b-badge href="#" @click="createItem('AAAA', item.data, item.fqdn)"
v-if="has_v4 && has_v6 && record_type == 'A' && !(item.target_ipaddr in dhcp_ip_addrs) && !fqdnHasAAAA(item.fqdn)"
variant="danger">Kein
AAAA-Record!
......@@ -683,7 +685,11 @@ export default {
}
})
if (sub !== null && !multi) {
this.db_editor_presets.data = sub.cidr.split('/')[0]
const split = sub.cidr.split('/')
this.db_editor_presets.data = split[0]
if (split[1] === '64') {
this.db_editor_presets.data += data
}
}
}
if (record_type === 'A' && (!data)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment