mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:17:43 +02:00
Don't update PAL namecard with empty strings
This commit is contained in:
parent
1aa6221f57
commit
d2af7eed3d
1 changed files with 1 additions and 1 deletions
|
@ -1215,7 +1215,7 @@ Rectangle {
|
||||||
if (userIndex !== -1) {
|
if (userIndex !== -1) {
|
||||||
['userName', 'admin', 'connection', 'profileUrl', 'placeName'].forEach(function (name) {
|
['userName', 'admin', 'connection', 'profileUrl', 'placeName'].forEach(function (name) {
|
||||||
var value = message.params[name];
|
var value = message.params[name];
|
||||||
if (value === undefined) {
|
if (value === undefined || value == "") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
nearbyUserModel.setProperty(userIndex, name, value);
|
nearbyUserModel.setProperty(userIndex, name, value);
|
||||||
|
|
Loading…
Reference in a new issue