Commit ec41f4f 1 parent 8542452 commit ec41f4f Copy full SHA for ec41f4f
File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 225
225
</div >
226
226
<h4 >DATA DELIVERY</h4 >
227
227
<h5 >RPKI</h5 >
228
- <a :href =" `https://${routinatorApiHost}/api/v1/status`" >{{
229
- this.status.version || "NOT AVAILABLE"
228
+ <a :href =" `https://${routinatorApiHost}/api/v1/status`" v-if = " this.status.version " >{{
229
+ this.status.version
230
230
}}</a >
231
+ <span v-else >Not available. Routinator may not be running!</span >
231
232
<h5 >BGP + RIR Allocations</h5 >
232
233
<a
233
234
:href =" `https://${rotoApiHost}/api/v1/`"
259
260
Routinator is initializing, please wait.
260
261
</div >
261
262
<div v-else-if =" status && status.error" style =" color : red ;" >
262
- NO DATA
263
+ Routinator API returned a status error. Check your installation.
263
264
</div >
264
265
<div v-if =" rotoStatus" >
265
266
BGP
@@ -657,8 +658,8 @@ export default {
657
658
window .setTimeout (this .loadRoutinatorStatus , 10000 );
658
659
} else {
659
660
this .status .error =
660
- (err .response && err .response .data ) ||
661
- " Routinator has unknown problems. Reloading this page may help ." ;
661
+ (err .response && err .response .data ) &&
662
+ " Routinator API returned an error. Check your Routinator installation ." ;
662
663
this .status .waiting = false ;
663
664
}
664
665
}
You can’t perform that action at this time.
0 commit comments