This commit is contained in:
Tiago Vasconcelos 2022-11-11 12:12:31 +00:00
parent 82e887b7a8
commit d5e1551839
4 changed files with 13 additions and 13 deletions

View file

@ -2118,7 +2118,7 @@
})
</script>
<style scoped>
.q-field__native span{
.q-field__native span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

View file

@ -296,15 +296,15 @@
},
async generateKeys(payment_hash) {
return await LNbits.api
.request('GET', `/diagonalley/api/v1/keys/${payment_hash}`, null)
.then(response => {
if (response.data) {
let data = {
keys: {
privatekey: response.data.privkey,
publickey: response.data.pubkey
.request('GET', `/diagonalley/api/v1/keys/${payment_hash}`, null)
.then(response => {
if (response.data) {
let data = {
keys: {
privatekey: response.data.privkey,
publickey: response.data.pubkey
}
}
}
this.user.keys = data.keys
return
}
@ -388,7 +388,8 @@
}
})
let data = this.$q.localStorage.getItem(`lnbits.diagonalley.data`) || false
let data =
this.$q.localStorage.getItem(`lnbits.diagonalley.data`) || false
if (data) {
this.user = data
@ -415,7 +416,7 @@
})
</script>
<style scoped>
.q-field__native span{
.q-field__native span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

View file

@ -444,7 +444,6 @@
created() {
this.stall = JSON.parse('{{ stall | tojson }}')
this.products = JSON.parse('{{ products | tojson }}')
}
})
</script>

View file

@ -51,11 +51,11 @@ from .crud import (
get_diagonalley_stalls_by_ids,
get_diagonalley_zone,
get_diagonalley_zones,
set_diagonalley_order_pubkey,
update_diagonalley_market,
update_diagonalley_product,
update_diagonalley_stall,
update_diagonalley_zone,
set_diagonalley_order_pubkey,
)
from .models import (
CreateMarket,