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: frontend backup success check #3006

Merged

Conversation

Kuchenpirat
Copy link
Collaborator

@Kuchenpirat Kuchenpirat commented Jan 19, 2024

What type of PR is this?

  • bug

What this PR does / why we need it:

The backup page does display a success statement even when no backup was created.
The if statement checking the returned data also was true when the returned object was null and thus a success alert was displayed.

Before the fix you could:

  • navigate to the Bakcup page
  • kill the backend
  • create an backup
  • recieve an success alert

Which issue(s) this PR fixes:

fixes #2970

Special notes for your reviewer:

None

Testing

Manual testing

@Kuchenpirat Kuchenpirat changed the title Fix conditional check in createBackup function fix: backup success check Jan 19, 2024
@Kuchenpirat Kuchenpirat changed the title fix: backup success check fix: frontend backup success check Jan 19, 2024
@michael-genson michael-genson merged commit 6acadbc into mealie-recipes:mealie-next Jan 19, 2024
9 checks passed
@Kuchenpirat Kuchenpirat deleted the fix-backup-success-check branch January 19, 2024 15:21
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] - Backups page status notification always reports backup successful even if it's not
2 participants