File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function makeStatus() {
17
17
}
18
18
19
19
function setup ( ) {
20
- const cacheDir = path . join ( app . getPath ( "userData" ) , "cache " ) ;
20
+ const cacheDir = path . join ( app . getPath ( "userData" ) , "gateway " ) ;
21
21
22
22
ipcMain . on ( "gateway/connect" , ( event , device ) => {
23
23
console . log ( "on gateway:connect" , device ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export default class extends Component {
92
92
< aside className = { this . state . visible ? "fade-in" : "fade-out" } >
93
93
< nav >
94
94
{ /* <NavLink exact to="/">{i18n.__("home")}</NavLink> */ }
95
- < NavLink to = "/" title = { gwOffline ? "No Radio Dongle connected" : null } > { i18n . __ ( "Devices" ) } { gwOffline ? < i className = "fa fa-warning" > </ i > : null } </ NavLink >
95
+ < NavLink to = "/" exact title = { gwOffline ? "No Radio Dongle connected" : null } > { i18n . __ ( "Devices" ) } { gwOffline ? < i className = "fa fa-warning" > </ i > : null } </ NavLink >
96
96
< NavLink to = "/functions" title = { nodeRedOffline ? "Node-RED is shut down" : null } > { i18n . __ ( "Functions" ) } { nodeRedOffline ? < i className = "fa fa-warning" > </ i > : null } </ NavLink >
97
97
< NavLink to = "/dashboard" > { i18n . __ ( "dashboard" ) } </ NavLink >
98
98
< NavLink to = "/messages" title = { mqttOffline ? "Mqtt brouker is shut down" : null } > { i18n . __ ( "Messages" ) } { mqttOffline ?< i className = "fa fa-warning" > </ i > : null } </ NavLink >
@@ -113,7 +113,7 @@ export default class extends Component {
113
113
< main key = "main" >
114
114
{ /* <Home path="/" exact/> */ }
115
115
< Route path = "/settings" component = { Settings } />
116
- < RouteWithProps path = "/" component = { Devices } model = { this . radiomanager } />
116
+ < RouteWithProps path = "/" exact component = { Devices } model = { this . radiomanager } />
117
117
< RouteIframe path = "/functions" src = "http://127.0.0.1:1880/" id = "node-red" />
118
118
< RouteIframe path = "/dashboard" src = "http://127.0.0.1:1880/ui" />
119
119
< RouteWithProps path = "/messages" component = { MqttLog } model = { this . mqttlog } />
You can’t perform that action at this time.
0 commit comments