Angular 19 + Even more bugfixes (#3675)

This commit is contained in:
Joe Milazzo 2025-03-25 16:43:41 -05:00 committed by GitHub
parent 535165c445
commit cc3ae7f472
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
249 changed files with 4400 additions and 4315 deletions

View file

@ -123,7 +123,10 @@ public class StreamService : IStreamService
AppUserIncludes.DashboardStreams);
var stream = user?.DashboardStreams.FirstOrDefault(d => d.Id == dto.Id);
if (stream == null)
{
throw new KavitaException(await _localizationService.Translate(userId, "dashboard-stream-doesnt-exist"));
}
if (stream.Order == dto.ToPosition) return;
var list = user!.DashboardStreams.OrderBy(s => s.Order).ToList();