Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scc-net
netvs
netvs-core
Commits
09f0b2f8
Commit
09f0b2f8
authored
Nov 12, 2020
by
Janis Streib
🦉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPD: removed prefill for A-records (closes
#195
)
parent
9c7d5f54
Pipeline
#117862
failed with stages
in 5 minutes and 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
21 deletions
+1
-21
frontend/src/views/dnsvs/BCDRecords.vue
frontend/src/views/dnsvs/BCDRecords.vue
+1
-21
No files found.
frontend/src/views/dnsvs/BCDRecords.vue
View file @
09f0b2f8
...
...
@@ -467,27 +467,7 @@ export default {
target_is_singleton
:
recobj
.
target_is_singleton_dflt
,
target_is_reverse_unique
:
recobj
.
target_is_reverse_unique_dflt
}
if
(
record_type
===
'
A
'
)
{
let
sub
=
null
let
multi
=
false
this
.
subnets
.
forEach
((
item
)
=>
{
if
(
item
.
type
===
'
4
'
)
{
if
(
sub
!==
null
)
{
multi
=
true
}
sub
=
item
}
if
(
sub
!==
null
&&
!
multi
)
{
const
first
=
ipaddress
.
ip_net_get_first
(
sub
.
cidr
)
const
last
=
ipaddress
.
ip_net_get_last
(
sub
.
cidr
)
let
index
=
0
while
(
first
.
slice
(
0
,
index
)
===
last
.
slice
(
0
,
index
))
{
index
++
}
this
.
db_editor_presets
.
data
=
first
.
slice
(
0
,
index
)
}
})
}
else
if
(
record_type
===
'
AAAA
'
)
{
if
(
record_type
===
'
AAAA
'
)
{
let
sub
=
null
let
multi
=
false
this
.
subnets
.
forEach
((
item
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment