Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
When i forked and clone the fossology UI and the backend on the home page there is nothing in front of the version, branch, commit it just was an empty array at first i thought this was a issue from the backend but when i had a chat with the people from backend they said that they are working on it but also the response will be the same for new user so i change the code and add a ternary operator and now you can know what will be in front of the version, branch and commit.
Please describe the changes in your pull request in few words here.
Changes
I add the change at footer. It works like when a new person first download the backend from the fossology and fossology UI. At home page at the footer there was a ui bug that there is nothing in front of version, Branch, commit i changed the code that for new person which will be having same response from backend fom footer as me i used if else condition (ternary operator) in react to solve that issue.
Please consider using the closing keyword if the pull request is proposed to
fix an issue already created in the repository
(https://help.github.com/articles/closing-issues-using-keywords/)