mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
Fixes the spinny wheel when searching for a filtered prefix that doesn't contain as-paths.
This commit is contained in:
@ -53,7 +53,11 @@ export const ColNetwork = function(props) {
|
||||
|
||||
// Special AS Path Widget
|
||||
export const ColAsPath = function(props) {
|
||||
const asns = _lookup(props.route, "bgp.as_path");
|
||||
let asns = _lookup(props.route, "bgp.as_path");
|
||||
if(!asns){
|
||||
asns = [];
|
||||
}
|
||||
|
||||
const baseUrl = "https://irrexplorer.nlnog.net/asn/AS"
|
||||
|
||||
let asnLinks = asns.map((asn, i) => {
|
||||
|
Reference in New Issue
Block a user