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

fix: show copy to clipboard failure #2886

Merged

Conversation

Kuchenpirat
Copy link
Collaborator

@Kuchenpirat Kuchenpirat commented Dec 29, 2023

What type of PR is this?

  • bug

What this PR does / why we need it:

This fixes the issue where alerts and tooltips would always state that copy to clipboard was successful, regardless of the actual success of the operation.
the use-copy.ts file (used in the shopping list) already made use of that mechanic, but a small bug in the check made it never enter the fail state.

Which issue(s) this PR fixes:

Testing

manual testing to confirm failure over an usecure http connection

@michael-genson michael-genson enabled auto-merge (squash) December 29, 2023 15:44
@michael-genson michael-genson merged commit 6a71af9 into mealie-recipes:mealie-next Dec 29, 2023
6 checks passed
@Kuchenpirat Kuchenpirat deleted the fix-copy-messages branch December 29, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Copy to clipboard failure not displayed
2 participants