Fixed an issue where if you have only 1 plex friend it would not show in the list

pull/280/head
tidusjar 9 years ago
parent 3032c4fed3
commit 605878700d

@ -161,7 +161,7 @@
$('#users').append("<option>Error!</option>");
return;
}
if (response.users.length > 1) {
if (response.users.length > 0) {
$(response.users).each(function () {
$('#users').append("<option>" + this + "</option>");
});

Loading…
Cancel
Save