Confirmation pop up doesn't show addresses
This commit is contained in:
parent
fbf20ab5d5
commit
1eab5efab8
@ -2,10 +2,11 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-title">Login</div>
|
<div class="modal-title">Login</div>
|
||||||
<div class="message">
|
<div class="message">
|
||||||
Attempting to pair device with address
|
Do you want to pair device?
|
||||||
|
<!-- Attempting to pair device with address
|
||||||
<strong>{{device1}}</strong>
|
<strong>{{device1}}</strong>
|
||||||
with device with address
|
with device with address
|
||||||
<strong>{{device2}}</strong>
|
<strong>{{device2}}</strong> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="confirmation-box">
|
<div class="confirmation-box">
|
||||||
<a class="btn confirmation-btn" onclick="confirm()">Confirm</a>
|
<a class="btn confirmation-btn" onclick="confirm()">Confirm</a>
|
||||||
|
@ -50,8 +50,8 @@ export default class Routing {
|
|||||||
let members = roles['owner']['members'];
|
let members = roles['owner']['members'];
|
||||||
console.log(members);
|
console.log(members);
|
||||||
let html = confirmationModalHtml;
|
let html = confirmationModalHtml;
|
||||||
html = html.replace('{{device1}}', members[0]['sp_addresses'][0]);
|
// html = html.replace('{{device1}}', members[0]['sp_addresses'][0]);
|
||||||
html = html.replace('{{device2}}', members[0]['sp_addresses'][1]);
|
// html = html.replace('{{device2}}', members[0]['sp_addresses'][1]);
|
||||||
this.currentOutpoint = outpointCommitment as string;
|
this.currentOutpoint = outpointCommitment as string;
|
||||||
const container = document.querySelector('.page-container');
|
const container = document.querySelector('.page-container');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user