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

UPD: bcdrecords: cleanup

parent 699c4520
Pipeline #130101 passed with stages
in 5 minutes and 48 seconds
......@@ -660,18 +660,14 @@ export default {
}
}
if (record_type === 'A' && (!data)) {
let res_ip = null
for (const bl of this.reverseIfAsc('A', this.asc_v4_blocklist)) {
for (const b of bl.containing_blocks) {
if (b.type === 'free') {
res_ip = b.first
this.db_editor_presets.data = b.first
break
}
}
}
if (res_ip !== null) {
this.db_editor_presets.data = res_ip
}
}
this.create_record_reducer = {type: false}
this.$root.$emit('bv::show::modal', 'create_record')
......
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