From c9fa4a49af20a836aae3fd45c3ce0e10f9c2f77c Mon Sep 17 00:00:00 2001 From: Alexandre Brandizzi Date: Fri, 18 Sep 2026 13:09:46 -0300 Subject: [PATCH] style(notifications): fix object initializer indentation in NotificationFeedService --- .../Implementation/NotificationFeedService.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/SeaHaven.Services/Implementation/NotificationFeedService.cs b/SeaHaven.Services/Implementation/NotificationFeedService.cs index 2051e77..e66c82d 100644 --- a/SeaHaven.Services/Implementation/NotificationFeedService.cs +++ b/SeaHaven.Services/Implementation/NotificationFeedService.cs @@ -157,20 +157,20 @@ namespace SeaHaven.Services.Implementation .ThenByDescending(pair => pair.Right.Id) .Take(SectionItemLimit) .Select(pair => new NotificationItemDto - { - Id = $"vendor-conflict-{pair.Left.Id}-{pair.Right.Id}", - Reason = NotificationReasons.VendorConflict, - Severity = NotificationSeverities.Medium, - Title = $"{(string.IsNullOrWhiteSpace(pair.Left.VendorName) ? "Vendor" : pair.Left.VendorName)} has overlapping appointments", - Count = 2, - TriggeredAt = pair.Left.Start < pair.Right.Start ? pair.Left.Start : pair.Right.Start, - Target = WorkOrderTarget(pair.Left.WorkOrderId, NotificationWorkOrderTabs.Info), - WorkOrders = new[] + { + Id = $"vendor-conflict-{pair.Left.Id}-{pair.Right.Id}", + Reason = NotificationReasons.VendorConflict, + Severity = NotificationSeverities.Medium, + Title = $"{(string.IsNullOrWhiteSpace(pair.Left.VendorName) ? "Vendor" : pair.Left.VendorName)} has overlapping appointments", + Count = 2, + TriggeredAt = pair.Left.Start < pair.Right.Start ? pair.Left.Start : pair.Right.Start, + Target = WorkOrderTarget(pair.Left.WorkOrderId, NotificationWorkOrderTabs.Info), + WorkOrders = new[] { new NotificationWorkOrderRefDto { Id = pair.Left.WorkOrderId, Number = pair.Left.WorkOrderNumber }, new NotificationWorkOrderRefDto { Id = pair.Right.WorkOrderId, Number = pair.Right.WorkOrderNumber } } - }).ToList(); + }).ToList(); return (NotificationReasons.VendorConflict, workOrderCount, items); }