a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[backend/razor] Remove unnecessary throw and semicolons from queue dashboard

authored by

pancakes and committed by
Laura Hausmann
8e26dd2f 65d2332e

+1 -3
+1 -3
Iceshrimp.Backend/Pages/Queue/Queue.razor
··· 25 25 } 26 26 </thead> 27 27 <tbody> 28 - @foreach (var queue in QueueStatuses ?? throw new Exception("QueueStatuses must not be null here")) 28 + @foreach (var queue in QueueStatuses!) 29 29 { 30 30 var isScheduled = ScheduledQueues.Contains(queue.Name); 31 31 var scheduled = isScheduled ? queue.JobCounts[Job.JobStatus.Delayed].ToString() : "-"; ··· 82 82 @foreach (var job in Jobs) 83 83 { 84 84 @RenderJob(job, true) 85 - ; 86 85 } 87 86 </tbody> 88 87 </table> ··· 149 148 @foreach (var job in Jobs) 150 149 { 151 150 @RenderJob(job) 152 - ; 153 151 } 154 152 </tbody> 155 153 </table>