karlomikus / vue-salt-rim

Salt Rim is a Vue based web client used for connecting to Bar Assistant server instance.
https://barassistant.app
MIT License
93 stars 17 forks source link

[Bug] Share Cocktail Issue / Ingredient Creation Category Issue #127

Closed zhdenny closed 11 months ago

zhdenny commented 11 months ago

This is an issue when you try to share a cocktail and use any of the "Copy" options such as "Copy as JSON".

To Reproduce the issue, attempt to share --> "Copy as JSON" for any Cocktail that contains an Ingredient not assigned a category. Nothing will be copied to your clipboard and the share button will darken and spin as if its thinking.

Ingredients usually ALWAYS MUST have a Category declared.......but if you were to create the ingredient while in the Cocktail Editing menu, that ingredient will exist without a Category. See screenshot....here you can see I can click to create the "Fake Ingredient"...and that ingredient will not be assigned a category which yields this problem.

image