style: auto-fix lint and format
This commit is contained in:
1 parent
a2668740c0
commit
fc80a61aef
2 files changed
+3
-7
No files matched your search
@@ -192,13 +192,9 @@ export const QueryRefreshIndicator = () => {
|
||||
};
|
||||
|
||||
const QueryRow = ({ row }: { row: QueryStatusRow }) => {
|
||||
const rowColor = statusColorMap[
|
||||
row.fetchStatus === "fetching" ? "fetching" : `idle_${row.status}`
|
||||
] ?? "gray";
|
||||
const rowColor = statusColorMap[row.fetchStatus === "fetching" ? "fetching" : `idle_${row.status}`] ?? "gray";
|
||||
|
||||
const updatedLabel = row.dataUpdatedAt > 0
|
||||
? dayjs(row.dataUpdatedAt).fromNow()
|
||||
: "never";
|
||||
const updatedLabel = row.dataUpdatedAt > 0 ? dayjs(row.dataUpdatedAt).fromNow() : "never";
|
||||
|
||||
return (
|
||||
<Group gap="xs" wrap="nowrap">
|
||||
|
||||
@@ -152,7 +152,7 @@ const CalendarBase = ({ isEditMode, events, month, setMonth, options }: Calendar
|
||||
.filter(
|
||||
(event) => event.metadata?.type !== "radarr" || options.releaseType.includes(event.metadata.releaseType),
|
||||
)
|
||||
.sort((eventA, eventB) => eventA.startDate.getTime() - eventB.startDate.getTime());
|
||||
.toSorted((eventA, eventB) => eventA.startDate.getTime() - eventB.startDate.getTime());
|
||||
|
||||
return (
|
||||
<CalendarDay
|
||||
|
||||
Reference in new issue
Block a user