Trim spaces from a split list in GetValueConverter

(cherry picked from commit 01995e686dafe0933c59e48100b2f23f58afd66e)
pull/3919/head
Taloth Saldono 4 years ago committed by Bogdan
parent 6761712c0c
commit 04aebc4012

@ -241,7 +241,7 @@ namespace Lidarr.Http.ClientSchema
}
else
{
return fieldValue.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
return fieldValue.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(v => v.Trim());
}
};
}

Loading…
Cancel
Save