Skip to content
Snippets Groups Projects
Commit 7add36dd authored by Neuber, Eugen Ramon's avatar Neuber, Eugen Ramon :speech_balloon: Committed by Reiter, Christoph
Browse files

Fix api calls with empty person identifier

parent 678569c6
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,7 @@ class PersonProfile extends VPULitElement {
}, {}, that.lang);
break;
case 'value':
if (this.value !== '') {
const apiUrl = this.entryPointUrl + '/people/' + this.value;
// load person
......@@ -62,6 +63,7 @@ class PersonProfile extends VPULitElement {
.then((person) => {
this.person = person;
});
}
break;
default:
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment