fix js error on fetch copilots
This commit is contained in:
parent
4ce0ed63c0
commit
da7f7fb618
|
@ -526,7 +526,9 @@
|
|||
this.g.user.wallets[0].inkey
|
||||
)
|
||||
.then(function (response) {
|
||||
self.CopilotLinks = response.data.map(mapCopilot)
|
||||
if(response.data){
|
||||
self.CopilotLinks = response.data.map(mapCopilot)
|
||||
}
|
||||
})
|
||||
.catch(function (error) {
|
||||
LNbits.utils.notifyApiError(error)
|
||||
|
|
Loading…
Reference in New Issue
Block a user