Removed unused custom css api call from display.html
This commit is contained in:
@@ -333,17 +333,6 @@
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
getCustomCss: async function () {
|
|
||||||
try {
|
|
||||||
const {data} = await LNbits.api.request(
|
|
||||||
'GET',
|
|
||||||
`/satspay/api/v1/settings/css/${this.charge.id}`
|
|
||||||
)
|
|
||||||
this.customCss = data
|
|
||||||
} catch (error) {
|
|
||||||
LNbits.utils.notifyApiError(error)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
checkBalances: async function () {
|
checkBalances: async function () {
|
||||||
if (this.charge.hasStaleBalance) return
|
if (this.charge.hasStaleBalance) return
|
||||||
try {
|
try {
|
||||||
@@ -445,7 +434,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created: async function () {
|
created: async function () {
|
||||||
await this.getCustomCss()
|
|
||||||
if (this.charge.lnbitswallet) this.payInvoice()
|
if (this.charge.lnbitswallet) this.payInvoice()
|
||||||
else this.payOnchain()
|
else this.payOnchain()
|
||||||
await this.checkBalances()
|
await this.checkBalances()
|
||||||
|
|||||||
Reference in New Issue
Block a user