nostrmarket/static/components/customer-stall-list/customer-stall-list.js
2023-07-24 11:11:31 +02:00

27 lines
489 B
JavaScript

async function customerStallList(path) {
const template = await loadTemplateAsync(path)
Vue.component('customer-stall-list', {
name: 'customer-stall-list',
template,
props: ['stalls'],
data: function () {
return {
showStalls: true
}
},
watch: {
stalls() {
this.showProducts = false
setTimeout(() => { this.showProducts = true }, 0)
}
},
computed: {},
methods: {
},
created() {
}
})
}