The Cocktail Manager is an efficient tool for easily documenting and accessing cocktail recipes behind the bar. It also includes essentail bar management features like cost calculations and stats tools.
Other
10
stars
1
forks
source link
fix: Calculation creation and deletion errors solved, set shopping unit preselection if only one is available #399
Before you mark this PR as ready, please check the following points
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.
[x] I´e created all necessary migrations?
[x] The format is correct (pnpm format:check, if invalid pnpm format:fix)
[x] No build errors (pnpm build)
[x] I´ve tested the implemented function by my own
When saving an calculation for the first time, an error was thrown (wrong db query). Thats now solved.
If only one unit is available, this one gets preselected at the calculation shopping list unit.
Affected sites (please check during review):
[ ] [workspaceId]/manage/calculations/[id] - Shopping list unit now preselected if only one is available, delete and create api handling fixed
Before you mark this PR as ready, please check the following points
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.pnpm format:check
, if invalidpnpm format:fix
)pnpm build
)Describe your work, what changed
When saving an calculation for the first time, an error was thrown (wrong db query). Thats now solved. If only one unit is available, this one gets preselected at the calculation shopping list unit.
Affected sites (please check during review):