Skip to content

Commit

Permalink
fix(ui): cleanup device id display
Browse files Browse the repository at this point in the history
Fixes #3314
  • Loading branch information
robertsLando committed Oct 9, 2023
1 parent 1f0dc2f commit fa5a8e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ZwaveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5756,7 +5756,7 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
utils.num2hex(zwaveNode.productId),
utils.num2hex(zwaveNode.productType),
]
node.hexId = `${hexIds[0]}-${hexIds[2]}-${hexIds[1]}`
node.hexId = `${hexIds[0]} ${hexIds[2]}-${hexIds[1]}`
node.dbLink = `https://devices.zwave-js.io/?jumpTo=${hexIds[0]}:${
hexIds[2]
}:${hexIds[1]}:${node.firmwareVersion || '0.0'}`
Expand Down
6 changes: 3 additions & 3 deletions src/components/nodes-table/ExpandedNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<span class="title grey--text">Device </span>
<br />
<span class="subtitle font-weight-bold font-monospace">
{{ `${node.deviceId} (${node.hexId})` }}
{{ node.hexId }}
</span>

<v-icon @click="openLink(node.dbLink)" class="ml-2" small>
ios_share
<v-icon @click="openLink(node.dbLink)" class="ml-2">
open_in_new
</v-icon>
<br />
<span
Expand Down

0 comments on commit fa5a8e9

Please sign in to comment.