Skip to content

Commit

Permalink
fix: smart start inclusion forgets node name and loc
Browse files Browse the repository at this point in the history
Fixes #2447
  • Loading branch information
robertsLando committed Jun 7, 2022
1 parent 80fec3a commit 33167ec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/dialogs/DialogNodesManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -804,9 +804,17 @@ export default {
} else {
if (data.api === 'parseQRCodeString') {
const res = data.result
const provisioning = res.parsed
let provisioning = res.parsed
if (provisioning) {
// add name and location to provisioning
if (this.nodeProps) {
provisioning = {
...provisioning,
...this.nodeProps,
}
}
const mode = 4 // s2 only
const replaceStep = this.steps.find(
Expand Down

0 comments on commit 33167ec

Please sign in to comment.