1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

Convert Queue to TypeScript

This commit is contained in:
Mark McDowall
2024-07-21 09:34:26 -07:00
committed by Mark McDowall
parent 824ed0a369
commit 76650af9fd
32 changed files with 1148 additions and 1503 deletions
@@ -137,14 +137,13 @@ function getInfoRowProps(
date: formatDateTime(previousAiring, longDateFormat, timeFormat),
}),
iconName: icons.CALENDAR,
label:
getRelativeDate({
date: previousAiring,
shortDateFormat,
showRelativeDates,
timeFormat,
timeForToday: true,
}) ?? '',
label: getRelativeDate({
date: previousAiring,
shortDateFormat,
showRelativeDates,
timeFormat,
timeForToday: true,
}),
};
}
@@ -1,7 +1,6 @@
import React from 'react';
import VirtualTableRowCell from 'Components/Table/Cells/VirtualTableRowCell';
import Popover from 'Components/Tooltip/Popover';
import TooltipPosition from 'Helpers/Props/TooltipPosition';
import SeasonDetails from 'Series/Index/Select/SeasonPass/SeasonDetails';
import { Season } from 'Series/Series';
import translate from 'Utilities/String/translate';
@@ -33,7 +32,7 @@ function SeasonsCell(props: SeriesStatusCellProps) {
anchor={seasonCount}
title={translate('SeasonDetails')}
body={<SeasonDetails seriesId={seriesId} seasons={seasons} />}
position={TooltipPosition.Left}
position="left"
/>
) : (
seasonCount