Moved to _dev
This commit is contained in:
14
crater/resources/scripts/customer/stores/customer.js
Normal file
14
crater/resources/scripts/customer/stores/customer.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const { defineStore } = window.pinia
|
||||
|
||||
export const useCustomerStore = defineStore({
|
||||
id: 'customers',
|
||||
state: () => ({
|
||||
customers: 'okay',
|
||||
}),
|
||||
|
||||
actions: {
|
||||
resetCustomers() {
|
||||
this.customers = 'okay'
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user