File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const Root = styled.div`
15
15
}
16
16
` ;
17
17
18
- export default function NoData ( { error, url } ) {
18
+ export default function NoData ( { error, url, protocol } ) {
19
19
return (
20
20
< Root >
21
21
< div >
@@ -32,7 +32,13 @@ export default function NoData({ error, url }) {
32
32
{ error === 'Failed to fetch' && (
33
33
< p >
34
34
Feathers debugger < strong > not found</ strong > on{ ' ' }
35
- < a href = { `${ url } /feathers-debugger` } > { url } /feathers-debugger</ a >
35
+ < a
36
+ href = { `${ protocol } ://${ url } /feathers-debugger` }
37
+ target = "_blank"
38
+ rel = "noreferrer"
39
+ >
40
+ { protocol } ://{ url } /feathers-debugger
41
+ </ a >
36
42
</ p >
37
43
) }
38
44
{ error === 'version-not-supported' && (
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ function Waterfall() {
53
53
54
54
const fetchData = ( ) => {
55
55
const gt = Date . now ( ) - timeframe * 1000 * 60 ; // timeframe from seconds to ms
56
- console . log ( 'NOW' ) ;
57
56
return fetch (
58
57
`${ baseUrl } ?$sort[ts]=1&$limit=500&ts[$gt]=${ gt } &$version=${ packageJson . version } `
59
58
)
@@ -257,7 +256,9 @@ function Waterfall() {
257
256
</ WaterfallItems >
258
257
</ Container >
259
258
) }
260
- { ! data . length && < NoData error = { fetchError } url = { url } /> }
259
+ { ! data . length && (
260
+ < NoData error = { fetchError } url = { url } protocol = { protocol } />
261
+ ) }
261
262
</ Root >
262
263
{ /* Modals */ }
263
264
{ settingsPane && (
You can’t perform that action at this time.
0 commit comments