Your favorite shift management application!
fix: synced icloud shift icon on calendar grid
panteLxe8d13e9bd301
diff --git a/components/calendar-grid.tsx b/components/calendar-grid.tsxindex 82bc300..1b2f928 100644--- a/components/calendar-grid.tsx+++ b/components/calendar-grid.tsx@@ -1,5 +1,5 @@import { motion } from "motion/react";-import { StickyNote } from "lucide-react";+import { StickyNote, RefreshCw } from "lucide-react";import { ShiftWithCalendar } from "@/lib/types";import { CalendarNote, ICloudSync } from "@/lib/db/schema";import { isToday } from "date-fns";@@ -284,9 +284,10 @@ export function CalendarGrid({borderLeftWidth: "2px",}}>- {t("icloud.syncedShiftsCount", {- count: syncShifts.length,- })}+ <span className="flex items-center justify-center gap-1">+ <span>+{syncShifts.length}</span>+ <RefreshCw className="h-3 w-3" />+ </span></div>);}diff --git a/messages/de.json b/messages/de.jsonindex 2c402df..b461b17 100644--- a/messages/de.json+++ b/messages/de.json@@ -177,7 +177,6 @@"displayModeNormal": "Normal (alle Schichten anzeigen)","displayModeMinimal": "Minimalistisch (nur Anzahl anzeigen)","displayModeHint": "Wähle, wie synchronisierte iCloud-Schichten im Kalender angezeigt werden sollen",- "syncedShiftsCount": "+{count} 🗘","viewSyncedShifts": "Synchronisierte Schichten anzeigen","syncedShiftsTitle": "Synchronisierte Schichten - {date}","addSync": "Synchronisierung hinzufügen",diff --git a/messages/en.json b/messages/en.jsonindex fe35d14..723c298 100644--- a/messages/en.json+++ b/messages/en.json@@ -176,8 +176,7 @@"displayMode": "Display synced shifts","displayModeNormal": "Normal (show all shifts)","displayModeMinimal": "Minimal (show count only)",- "displayModeHint": "Choose how synced iCloud shifts should be displayed in the calendar",- "syncedShiftsCount": "+{count} 🗘",+ "displayModeHint": "Choose how synced iCloud shifts are displayed in the calendar","viewSyncedShifts": "View synced shifts","syncedShiftsTitle": "Synced Shifts - {date}","addSync": "Add Sync",