mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
fixed condition for being an AS_set
This commit is contained in:
@@ -56,7 +56,7 @@ export class AS {
|
|||||||
if (["string", "number"].includes(typeof(numbers))) {
|
if (["string", "number"].includes(typeof(numbers))) {
|
||||||
this.numbers = [ numbers ];
|
this.numbers = [ numbers ];
|
||||||
} else if (numbers instanceof Array && numbers.length){
|
} else if (numbers instanceof Array && numbers.length){
|
||||||
if (numbers.length === 1) {
|
if (numbers.length > 1) {
|
||||||
this.ASset = true;
|
this.ASset = true;
|
||||||
}
|
}
|
||||||
this.numbers = numbers;
|
this.numbers = numbers;
|
||||||
|
Reference in New Issue
Block a user