fix js error on fetch copilots
This commit is contained in:
parent
4ce0ed63c0
commit
da7f7fb618
1 changed files with 3 additions and 1 deletions
|
|
@ -526,7 +526,9 @@
|
||||||
this.g.user.wallets[0].inkey
|
this.g.user.wallets[0].inkey
|
||||||
)
|
)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
self.CopilotLinks = response.data.map(mapCopilot)
|
if(response.data){
|
||||||
|
self.CopilotLinks = response.data.map(mapCopilot)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.catch(function (error) {
|
.catch(function (error) {
|
||||||
LNbits.utils.notifyApiError(error)
|
LNbits.utils.notifyApiError(error)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue