Skip to content

Commit

Permalink
chore(*): address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Apr 25, 2024
1 parent f5b2619 commit 07127e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@
},
"empty": {
"title": "No Data Plane Nodes",
"message": "There is no Data Plane Node connected to this Control Plane",
"button": "Install Plugin"
"message": "There is no Data Plane Node connected to this Control Plane"
},
"error": {
"title": "Data Plane Nodes could not be retrieved",
Expand Down
4 changes: 3 additions & 1 deletion src/pages/data-plane-nodes/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,11 @@ const getNodeLogLevel = async (id: string) => {
return response.data.current_level
} catch (err) {
const target = visibleNodes.value.find(node => node.id === id)
toaster.open({
appearance: 'danger',
message: t('entities.dp-nodes.error.get.log.level.fail', { id }),
message: t('entities.dp-nodes.error.get.log.level.fail', { id: target?.hostname ?? id }),
})
}
}
Expand Down

0 comments on commit 07127e2

Please sign in to comment.