Skip to content

Commit

Permalink
Merge pull request #728 from Senyoret1/fix-updater
Browse files Browse the repository at this point in the history
Fix for the updater UI
  • Loading branch information
jdknives authored Apr 28, 2021
2 parents 85973cc + 9c13bde commit 9476081
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,12 @@ export class NodeListComponent implements OnInit, OnDestroy {

const nodesData: NodeData[] = [];
this.dataSource.forEach(node => {
nodesData.push({
key: node.localPk,
label: node.label,
});
if (node.online) {
nodesData.push({
key: node.localPk,
label: node.label,
});
}
});

UpdateComponent.openDialog(this.dialog, nodesData);
Expand Down
2 changes: 1 addition & 1 deletion static/skywire-manager-src/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"nodes": {
"title": "Visor list",
"dmsg-title": "DMSG",
"update-all": "Update all visors",
"update-all": "Update all online visors",
"hypervisor": "Hypervisor",
"state": "State",
"state-tooltip": "Current state",
Expand Down
2 changes: 1 addition & 1 deletion static/skywire-manager-src/src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"nodes": {
"title": "Lista de visores",
"dmsg-title": "DMSG",
"update-all": "Actualizar todos los visores",
"update-all": "Actualizar todos los visores online",
"hypervisor": "Hypervisor",
"state": "Estado",
"state-tooltip": "Estado actual",
Expand Down
2 changes: 1 addition & 1 deletion static/skywire-manager-src/src/assets/i18n/es_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"nodes": {
"title": "Visor list",
"dmsg-title": "DMSG",
"update-all": "Update all visors",
"update-all": "Update all online visors",
"hypervisor": "Hypervisor",
"state": "State",
"state-tooltip": "Current state",
Expand Down

0 comments on commit 9476081

Please sign in to comment.