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

This commit is contained in:
tidusjar 2016-05-25 16:38:51 +01:00
commit 605878700d

View file

@ -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>");
});