mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
fixed ls
This commit is contained in:
parent
cf96a36b0c
commit
459e7cb523
2 changed files with 4 additions and 6 deletions
|
@ -505,7 +505,7 @@
|
||||||
this.g.user.wallets[0].inkey
|
this.g.user.wallets[0].inkey
|
||||||
)
|
)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
self.passedCopilot = response.data
|
localStorage.setItem('copilot', JSON.stringify(response.data))
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
LNbits.utils.notifyApiError(error)
|
LNbits.utils.notifyApiError(error)
|
||||||
|
@ -513,16 +513,12 @@
|
||||||
},
|
},
|
||||||
openCopilotCompose: function (copilot_id) {
|
openCopilotCompose: function (copilot_id) {
|
||||||
this.getCopilot(copilot_id)
|
this.getCopilot(copilot_id)
|
||||||
console.log(JSON.stringify(this.passedCopilot))
|
|
||||||
localStorage.setItem('copilot', JSON.stringify(this.passedCopilot))
|
|
||||||
let params =
|
let params =
|
||||||
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200'
|
'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)
|
open('../copilot/cp/', 'test', params)
|
||||||
},
|
},
|
||||||
openCopilotPanel: function (copilot_id) {
|
openCopilotPanel: function (copilot_id) {
|
||||||
this.getCopilot(copilot_id)
|
this.getCopilot(copilot_id)
|
||||||
console.log(JSON.stringify(this.passedCopilot))
|
|
||||||
localStorage.setItem('copilot', JSON.stringify(this.passedCopilot))
|
|
||||||
let params =
|
let params =
|
||||||
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200'
|
'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)
|
open('../copilot/pn/', 'test', params)
|
||||||
|
|
|
@ -15,7 +15,9 @@
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
<center>
|
<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>
|
</center>
|
||||||
<q-separator></q-separator>
|
<q-separator></q-separator>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
|
Loading…
Add table
Reference in a new issue