Skip to content

Commit

Permalink
Fix empty place display (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Altonss authored Nov 1, 2024
1 parent 329ebd0 commit f62b7cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public String getName() {

String getFullName() {
if (name != null) {
return place == null ? name : name + ", " + place;
return place == null || place.isEmpty() ? name : name + ", " + place;
} else {
return getName();
}
Expand Down

0 comments on commit f62b7cd

Please sign in to comment.