Skip to content
Snippets Groups Projects
Commit 5eb66845 authored by Robert Kossessa's avatar Robert Kossessa
Browse files

FIX: Duplicate free address blocks

parent 6f51f378
No related branches found
No related tags found
No related merge requests found
Pipeline #275701 passed with warnings
......@@ -122,8 +122,8 @@
class="text-muted">{{ item.ttl_zone_default }}{{ $t('system.second_time_s') }}</span>
<span v-if="item.ttl_reset_days"
class="text-danger"><br/>{{
$tc('components.dns_record_type_card.reset_in_days', item.ttl_reset_days, {days: item.ttl_reset_days})
}}</span>
$tc('components.dns_record_type_card.reset_in_days', item.ttl_reset_days, { days: item.ttl_reset_days })
}}</span>
<span v-if="item.ttl_reset_date" class="text-danger"><br/>{{
$t('components.dns_record_type_card.reset_on_day', { day: item.ttl_reset_date })
}}</span>
......@@ -152,7 +152,7 @@
</b-td>
</b-tr>
<template
v-if="record_type === 'A' && !filter && sort_by === 'data' && fs_sliced_records.indexOf(item) === item_index && item.data in lowerIfAsc()">
v-if="record_type === 'A' && !filter && sort_by === 'data' && fs_sliced_records.length - 1 === item_index && item.data in lowerIfAsc()">
<BCDFreeAddressBlock :key="'block_lower_' + item.data + '_' + j"
v-for="(blk,j) in reverseIfDesc(lowerIfAsc()[item.data].containing_blocks)"
:create_item_func="createRecord" :block="blk"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment