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

Handle language delete #129

Merged
merged 2 commits into from
May 20, 2022
Merged

Handle language delete #129

merged 2 commits into from
May 20, 2022

Conversation

devmount
Copy link
Owner

Description of the Change

This change introduces an additional check when deleting languages, if they are still in use (at least one song exists that is assigned to this language).

Benefits

Language deletion is properly handled. No console errors when accessing a song which is assigned to a deleted language.

Applicable Issues

Closes #126

Signed-off-by: Andreas Müller <mail@devmount.de>
Signed-off-by: Andreas Müller <mail@devmount.de>
@devmount devmount merged commit a9248d6 into main May 20, 2022
@devmount devmount deleted the handle-language-delete branch May 20, 2022 03:43
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.

Handle language removal
1 participant