Skip to content

Commit

Permalink
fix(ui): show rebuild node routes only when there are node selected
Browse files Browse the repository at this point in the history
Fixes #4087
  • Loading branch information
robertsLando committed Jan 13, 2025
1 parent 9153c91 commit ac1cbb3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/views/ControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -269,22 +269,6 @@ export default {
icon: 'code',
desc: 'Write a custom JS function using the ZwaveJS Driver',
},
{
text: 'Rebuild Node Routes',
options: [
{
name: 'Rebuild',
action: 'rebuildNodeRoutes',
args: {
confirm:
'Rebuilding routes of a specific node. This action causes a lot of traffic, can take minutes up to hours and you can expect degraded performance while it is going on',
},
},
],
icon: 'healing',
color: 'warning',
desc: 'Discover and assign new routes between a specific node to the controller and his neighbors',
},
{
text: 'NVM Management',
options: [
Expand Down Expand Up @@ -376,6 +360,22 @@ export default {
color: 'warning',
desc: 'Force nodes to establish new connections to the controller',
},
{
text: 'Rebuild Node Routes',
options: [
{
name: 'Rebuild',
action: 'rebuildNodeRoutes',
args: {
confirm:
'Rebuilding routes of a specific node. This action causes a lot of traffic, can take minutes up to hours and you can expect degraded performance while it is going on',
},
},
],
icon: 'healing',
color: 'warning',
desc: 'Discover and assign new routes between a specific node to the controller and his neighbors',
},
{
text: 'Ping',
options: [
Expand Down

0 comments on commit ac1cbb3

Please sign in to comment.