Commit f6c1158f authored by janis.streib's avatar janis.streib 🦉
Browse files

FIX: show all records

parent c25bc02c
Pipeline #138818 passed with stages
in 6 minutes and 28 seconds
...@@ -719,8 +719,8 @@ export default { ...@@ -719,8 +719,8 @@ export default {
this.vlans = rangeResponse.data[16] this.vlans = rangeResponse.data[16]
this.has_v4 = this.has_v6 = false this.has_v4 = this.has_v6 = false
for (const sub of this.subnets) { for (const sub of this.subnets) {
this.has_v4 = sub.type === '4' this.has_v4 = this.has_v4 || sub.type === '4'
this.has_v6 = sub.type === '6' this.has_v6 = this.has_v6 || sub.type === '6'
} }
const recordQuery = await RangeService.getRecords(this.$store.state.netdb_axios_config, this.$route.params.name) const recordQuery = await RangeService.getRecords(this.$store.state.netdb_axios_config, this.$route.params.name)
this.fqdns = apiutil.dict_by_value_of_array(recordQuery.data[1], 'value') this.fqdns = apiutil.dict_by_value_of_array(recordQuery.data[1], 'value')
......
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