-
Notifications
You must be signed in to change notification settings - Fork 95
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 the UI glitch when keywords are empty (#857) #892
Fix the UI glitch when keywords are empty (#857) #892
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, untested but looks good ;)
Codecov Report
@@ Coverage Diff @@
## master #892 +/- ##
=======================================
Coverage 21.22% 21.22%
=======================================
Files 20 20
Lines 1555 1555
=======================================
Hits 330 330
Misses 1225 1225
Flags with carried forward coverage won't be shown. Click here to find out more. |
2fdb6a3
to
1870a5a
Compare
Signed-off-by: Marcel Robitaille <marcelrobitaille11@gmail.com> Signed-off-by: Christian Wolf <github@christianwolf.email>
Signed-off-by: Christian Wolf <github@christianwolf.email>
Signed-off-by: Christian Wolf <github@christianwolf.email>
1870a5a
to
17d4e86
Compare
closes #857 |
Fix the UI glitch with a tiny blob in the keywords field when loading a recipe with empty keywords. The bug was caused by
keywords.split(',')
whenkeywords
is an empty string. This will create an array of a single element: an empty string. Rendering this empty string as a keyword results in this little blob. The solution is to filter out empty strings after the call to.split()
.