#418 bug fix
This commit is contained in:
parent
11a0e28454
commit
6d1a759d5a
@ -1154,7 +1154,11 @@ namespace GanjooRazor.Pages
|
||||
return new BadRequestObjectResult("مورد دیگری یافت نشد.");
|
||||
}
|
||||
|
||||
quoteds.RemoveAt(0);
|
||||
if(quoteds.Any(q => q.ChosenForMainList))
|
||||
{
|
||||
var mainList = quoteds.Where(q => q.ChosenForMainList).First();
|
||||
quoteds.Remove(mainList);
|
||||
}
|
||||
|
||||
|
||||
return new PartialViewResult()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user