This commit is contained in:
Ben Arc 2021-04-20 14:53:52 +01:00
parent cf96a36b0c
commit 459e7cb523
2 changed files with 4 additions and 6 deletions

View File

@ -505,7 +505,7 @@
this.g.user.wallets[0].inkey
)
.then(function (response) {
self.passedCopilot = response.data
localStorage.setItem('copilot', JSON.stringify(response.data))
})
.catch(function (error) {
LNbits.utils.notifyApiError(error)
@ -513,16 +513,12 @@
},
openCopilotCompose: function (copilot_id) {
this.getCopilot(copilot_id)
console.log(JSON.stringify(this.passedCopilot))
localStorage.setItem('copilot', JSON.stringify(this.passedCopilot))
let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200'
open('../copilot/cp/', 'test', params)
},
openCopilotPanel: function (copilot_id) {
this.getCopilot(copilot_id)
console.log(JSON.stringify(this.passedCopilot))
localStorage.setItem('copilot', JSON.stringify(this.passedCopilot))
let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200'
open('../copilot/pn/', 'test', params)

View File

@ -15,7 +15,9 @@
</center>
</div>
<center>
<div class="col" style="margin: 15px; font-size: 25px">Title:</div>
<div class="col" style="margin: 15px; font-size: 25px">
Title: {% raw %} {{ copilot.title }} {% endraw %}
</div>
</center>
<q-separator></q-separator>
<div class="col">