jo-gross / Cocktail-Manager

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

Closed jo-gross closed 3 months ago

jo-gross commented 3 months ago

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.

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):

jg-semantic-release-bot[bot] commented 3 months ago

:tada: This PR is included in version 1.8.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: