Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - When printing a recipe the nutrition uom is not being shown #4125

Open
6 tasks done
enrauk opened this issue Aug 30, 2024 · 1 comment
Open
6 tasks done

[BUG] - When printing a recipe the nutrition uom is not being shown #4125

enrauk opened this issue Aug 30, 2024 · 1 comment
Labels
bug: confirmed bug Something isn't working good first issue Good for newcomers

Comments

@enrauk
Copy link

enrauk commented Aug 30, 2024

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

When printing a recipe the nutrition unit of measure is not being shown against the nutrition value

Steps to Reproduce

  1. Select a recipe with nutrition details
  2. Select print preferences and turn on show nutrition if not selected
  3. Print the recipe including the nutrition values

Please provide relevant logs

No relevant logs

Mealie Version

Details
Version: v1.11.0
Build: a41ad8c
Application Mode: Production
Demo Status: Not Demo
API Port: 9000
API Docs: Enabled
Database Type: postgres
Recipe Scraper Version: 15.0.0

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

Deployment

Docker (Linux)

Additional Deployment Details

Not a deployment issue

@enrauk enrauk added bug Something isn't working triage labels Aug 30, 2024
@boc-the-git boc-the-git added bug: confirmed good first issue Good for newcomers and removed triage labels Sep 4, 2024
@AitanBachrach
Copy link

Hello, I would like to take on this issue and have located the file i would need to change "frontend/components/Domain/Recipe/RecipePrintView.vue", and the value that would contain the UoM, recipe.recipeYield. However recipeYield is not required and a string and so could be many different formats. It does from the poking around I did seem to default to "# servings". Is there a way I should handle this? Additionally because the value is again from what I could figure out divorced from nutrition there is no guarantee that the nutrition values are per serving. How should I handle this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: confirmed bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants