mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
this should fix some issues with the episode requests #514
This commit is contained in:
parent
808134599a
commit
8cae79ecc7
2 changed files with 23 additions and 5 deletions
|
@ -369,7 +369,7 @@ namespace PlexRequests.UI.Modules
|
|||
viewT.Requested = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
viewTv.Add(viewT);
|
||||
}
|
||||
|
||||
|
@ -657,7 +657,11 @@ namespace PlexRequests.UI.Modules
|
|||
|
||||
return await AddUserToRequest(existingRequest, settings, fullShowName, true);
|
||||
}
|
||||
// We have an episode that has not yet been requested, let's continue
|
||||
else
|
||||
{
|
||||
// We no episodes to approve
|
||||
return Response.AsJson(new JsonResponseModel { Result = false, Message = $"{fullShowName} {Resources.UI.Search_AlreadyInPlex}" });
|
||||
}
|
||||
}
|
||||
else if (model.SeasonList.Except(existingRequest.SeasonList).Any())
|
||||
{
|
||||
|
@ -765,7 +769,7 @@ namespace PlexRequests.UI.Modules
|
|||
UpdateRequest(existingRequest, settings,
|
||||
$"{fullShowName} {Resources.UI.Search_SuccessfullyAdded}");
|
||||
}
|
||||
|
||||
|
||||
return await UpdateRequest(existingRequest, settings, $"{fullShowName} {Resources.UI.Search_AlreadyRequested}");
|
||||
}
|
||||
|
||||
|
@ -1033,7 +1037,8 @@ namespace PlexRequests.UI.Modules
|
|||
Name = ep.name,
|
||||
EpisodeId = ep.id
|
||||
});
|
||||
}return model;
|
||||
}
|
||||
return model;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue