mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 22:13:18 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			231 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			231 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const { defineStore } = window.pinia
 | 
						|
 | 
						|
export const useCustomerStore = defineStore({
 | 
						|
  id: 'customers',
 | 
						|
  state: () => ({
 | 
						|
    customers: 'okay',
 | 
						|
  }),
 | 
						|
 | 
						|
  actions: {
 | 
						|
    resetCustomers() {
 | 
						|
      this.customers = 'okay'
 | 
						|
    },
 | 
						|
  }
 | 
						|
})
 |