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:
committed by
Mark McDowall
parent
824ed0a369
commit
76650af9fd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user