diff --git a/internal/handlers/dashboard.go b/internal/handlers/dashboard.go index ce221f0..c163d33 100644 --- a/internal/handlers/dashboard.go +++ b/internal/handlers/dashboard.go @@ -65,6 +65,7 @@ func (h *DashboardHandler) GetSections(c *echo.Context) error { } sectionData := BuildSections(sections, libraryID) + sectionData = MarkActiveConflictsSections(c.Request().Context(), h.db, user.ID, sectionData) return c.JSON(http.StatusOK, map[string]interface{}{"sections": sectionData}) } diff --git a/web/src/dashboard.ts b/web/src/dashboard.ts index 8744cf4..170ec3a 100644 --- a/web/src/dashboard.ts +++ b/web/src/dashboard.ts @@ -205,7 +205,8 @@ function renderSectionHTML(section: SectionData): string {