mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Fixed #1090
This commit is contained in:
parent
4ccffabfc0
commit
15dab75418
3 changed files with 10 additions and 2 deletions
|
@ -242,8 +242,10 @@ namespace Ombi.Services.Jobs.RecentlyAddedNewsletter
|
|||
public EmbySeriesInformation Series { get; set; }
|
||||
public List<EmbyEpisodeInformation> Episodes { get; set; }
|
||||
}
|
||||
private void GenerateTvHtml(List<EmbyRecentlyAddedModel> tv, StringBuilder sb)
|
||||
private void GenerateTvHtml(IEnumerable<EmbyRecentlyAddedModel> recenetlyAddedTv, StringBuilder sb)
|
||||
{
|
||||
var tv = recenetlyAddedTv?.ToList() ?? new List<EmbyRecentlyAddedModel>();
|
||||
|
||||
if (!tv.Any())
|
||||
{
|
||||
return;
|
||||
|
|
|
@ -208,11 +208,17 @@ namespace Ombi.UI.Authentication
|
|||
|
||||
var plexUsers = configuration.PlexUserRepository.GetAll();
|
||||
var plexUser = plexUsers.FirstOrDefault(x => Guid.Parse(x.LoginId) == userGuid);
|
||||
var embyUsers = configuration.EmbyUserRepository.GetAll();
|
||||
var embyUser = embyUsers.FirstOrDefault(x => Guid.Parse(x.LoginId) == userGuid);
|
||||
|
||||
if (plexUser != null)
|
||||
{
|
||||
identity.UserName = plexUser.Username;
|
||||
}
|
||||
if (embyUser != null)
|
||||
{
|
||||
identity.UserName = embyUser.Username;
|
||||
}
|
||||
|
||||
var localUsers = configuration.LocalUserRepository.GetAll();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="@Model.PosterUrl" />
|
||||
<img src="https://image.tmdb.org/t/p/w150/@Model.PosterUrl" />
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h4>Issues For "@Model.Title"</h4>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue