style: fix prettier formatting

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ben Weeks 2025-12-23 12:21:59 +00:00
parent 71f458b9b9
commit bd010ece6b
7 changed files with 137 additions and 35 deletions

View file

@ -20,7 +20,12 @@ window.app.component('product-list', {
{name: 'name', align: 'left', label: 'Name', field: 'name'},
{name: 'stall', align: 'left', label: 'Stall', field: 'stall_id'},
{name: 'price', align: 'left', label: 'Price', field: 'price'},
{name: 'quantity', align: 'left', label: 'Quantity', field: 'quantity'},
{
name: 'quantity',
align: 'left',
label: 'Quantity',
field: 'quantity'
},
{name: 'actions', align: 'right', label: 'Actions', field: ''}
],
pagination: {

View file

@ -35,9 +35,24 @@ window.app.component('stall-list', {
stallsTable: {
columns: [
{name: 'name', align: 'left', label: 'Name', field: 'name'},
{name: 'currency', align: 'left', label: 'Currency', field: 'currency'},
{name: 'description', align: 'left', label: 'Description', field: row => row.config?.description || ''},
{name: 'shippingZones', align: 'left', label: 'Shipping Zones', field: row => row.shipping_zones?.map(z => z.name).join(', ') || ''},
{
name: 'currency',
align: 'left',
label: 'Currency',
field: 'currency'
},
{
name: 'description',
align: 'left',
label: 'Description',
field: row => row.config?.description || ''
},
{
name: 'shippingZones',
align: 'left',
label: 'Shipping Zones',
field: row => row.shipping_zones?.map(z => z.name).join(', ') || ''
},
{name: 'actions', align: 'right', label: 'Actions', field: ''}
],
pagination: {

View file

@ -258,7 +258,9 @@ window.app = Vue.createApp({
},
refreshNip15: async function () {
LNbits.utils
.confirmDialog('This will sync your stalls and products from Nostr relays. Continue?')
.confirmDialog(
'This will sync your stalls and products from Nostr relays. Continue?'
)
.onOk(async () => {
try {
await LNbits.api.request(