diff --git a/lnbits/extensions/copilot/templates/copilot/index.html b/lnbits/extensions/copilot/templates/copilot/index.html index d5f7cccd..69914e99 100644 --- a/lnbits/extensions/copilot/templates/copilot/index.html +++ b/lnbits/extensions/copilot/templates/copilot/index.html @@ -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)