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

[BUG] - Cannot remove empty ingredient #3746

Closed AndreiGavriliu closed 1 week ago

AndreiGavriliu commented 1 week ago

First Check

What is the issue you are experiencing?

Hi,

first of all, thanks for developing this project. It's a lifesaver!

While adding a new step, I accidentally dragged it too far up (into the ingredients list). Now I cannot remove it and there is an empty checkbox in the ingredients list which does not appear when editing.

Cheers, Andrei

Steps to Reproduce

  1. Create new step (empty)
  2. Drag it over to the ingredients
  3. Save (empty checkbox should be there)
  4. Edit (checkbox is not available to be deleted)

Please provide relevant logs

Logs do not show any information relevant to this

Mealie Version

Details Version: v1.8.0 Build: 583bd742fb7bbeee0191a6e6601677df57d86a11 Application Mode: Production Demo Status: Not Demo API Port: 9000 API Docs: Enabled Database Type: sqlite Recipe Scraper Version: 14.56.0

Checks Secure Site: Yes Server Side Base URL: Yes LDAP Ready: No OIDC Ready: No OpenAI Ready: No Email Configured: No

Deployment

Docker (Linux)

Additional Deployment Details

No response

michael-genson commented 1 week ago

Wow I have no idea why you can drag a step into an ingredient, what a weird bug. FYI in the meantime: if you save the recipe, then refresh the page, you can then remove the empty ingredient.