File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
core/frontend/src/components/zenoh-inspector Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -481,11 +481,19 @@ export default Vue.extend({
481
481
if (detailedInfo ) {
482
482
// Update the node with detailed information
483
483
node .metadata = { ... node .metadata , ... detailedInfo }
484
+
485
+ if (detailedInfo .metadata ?.name ) {
486
+ node .name = detailedInfo .metadata .name
487
+ console .debug (` [Zenoh Network] Updated node ${node .id } with name: ${detailedInfo .metadata .name } ` )
488
+ }
484
489
}
485
490
}
486
491
}
487
492
488
493
console .debug (' [Zenoh Network] Specific node queries completed' )
494
+
495
+ // Update the graph to show the new names
496
+ this .updateCytoscapeGraph ()
489
497
} catch (error ) {
490
498
console .warn (' [Zenoh Network] Error querying specific nodes:' , error )
491
499
}
You can’t perform that action at this time.
0 commit comments