node page: don't display "undefined" if node has never been saved yet
This commit is contained in:
parent
2cc533c481
commit
d95b41315c
|
@ -24,6 +24,9 @@ export function getNode (nodeid) {
|
|||
export function createNode (nodeid) {
|
||||
return {
|
||||
'node_id': nodeid,
|
||||
'hostname': '',
|
||||
'owner': '',
|
||||
'lastseen': null,
|
||||
'wireless': {
|
||||
'channel24': config.node.channel24,
|
||||
'channel5': config.node.channel5,
|
||||
|
|
Loading…
Reference in New Issue