mealie-recipes / mealie

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
https://docs.mealie.io
GNU Affero General Public License v3.0
5.59k stars 608 forks source link

fix: Prevent Dragging Ingredients to Instructions and Vice Versa #3770

Closed michael-genson closed 1 week ago

michael-genson commented 1 week ago

What type of PR is this?

(REQUIRED)

What this PR does / why we need it:

(REQUIRED)

Currently you can drag an ingredient to an instruction, or vice versa. This is due to a non-unique group attribute on the draggable. This PR makes the groups unique.

Which issue(s) this PR fixes:

(REQUIRED)

Fixes https://github.com/mealie-recipes/mealie/issues/3746

Testing

(fill-in or delete this section)

Manually