Snapshot of in-progress work across local_backend, manager_dashboard, and waiter_pwa (pricing, chat, fiscal, prep zones, recovery codes, CRM, inventory, permissions), plus the nginx/docker-compose deploy fixes for the Unraid + NPM reverse-proxy setup. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
334 B
JavaScript
15 lines
334 B
JavaScript
import { create } from 'zustand'
|
|
import { persist } from 'zustand/middleware'
|
|
|
|
const useOrderingSettingsStore = create(
|
|
persist(
|
|
(set) => ({
|
|
summaryBeforeSend: false,
|
|
setSummaryBeforeSend: (v) => set({ summaryBeforeSend: v }),
|
|
}),
|
|
{ name: 'ordering-settings' }
|
|
)
|
|
)
|
|
|
|
export default useOrderingSettingsStore
|