|
|
@ -3,7 +3,6 @@ import React, { Component } from 'react';
|
|
|
|
import HistoryDetailsConnector from 'Activity/History/Details/HistoryDetailsConnector';
|
|
|
|
import HistoryDetailsConnector from 'Activity/History/Details/HistoryDetailsConnector';
|
|
|
|
import HistoryEventTypeCell from 'Activity/History/HistoryEventTypeCell';
|
|
|
|
import HistoryEventTypeCell from 'Activity/History/HistoryEventTypeCell';
|
|
|
|
import Icon from 'Components/Icon';
|
|
|
|
import Icon from 'Components/Icon';
|
|
|
|
import Label from 'Components/Label';
|
|
|
|
|
|
|
|
import IconButton from 'Components/Link/IconButton';
|
|
|
|
import IconButton from 'Components/Link/IconButton';
|
|
|
|
import ConfirmModal from 'Components/Modal/ConfirmModal';
|
|
|
|
import ConfirmModal from 'Components/Modal/ConfirmModal';
|
|
|
|
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
|
|
|
|
import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector';
|
|
|
@ -11,6 +10,7 @@ import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
|
|
|
import TableRow from 'Components/Table/TableRow';
|
|
|
|
import TableRow from 'Components/Table/TableRow';
|
|
|
|
import Popover from 'Components/Tooltip/Popover';
|
|
|
|
import Popover from 'Components/Tooltip/Popover';
|
|
|
|
import Tooltip from 'Components/Tooltip/Tooltip';
|
|
|
|
import Tooltip from 'Components/Tooltip/Tooltip';
|
|
|
|
|
|
|
|
import EpisodeFormats from 'Episode/EpisodeFormats';
|
|
|
|
import EpisodeLanguages from 'Episode/EpisodeLanguages';
|
|
|
|
import EpisodeLanguages from 'Episode/EpisodeLanguages';
|
|
|
|
import EpisodeQuality from 'Episode/EpisodeQuality';
|
|
|
|
import EpisodeQuality from 'Episode/EpisodeQuality';
|
|
|
|
import { icons, kinds, tooltipPositions } from 'Helpers/Props';
|
|
|
|
import { icons, kinds, tooltipPositions } from 'Helpers/Props';
|
|
|
@ -129,21 +129,9 @@ class EpisodeHistoryRow extends Component {
|
|
|
|
<TableRowCell className={styles.customFormatScore}>
|
|
|
|
<TableRowCell className={styles.customFormatScore}>
|
|
|
|
<Tooltip
|
|
|
|
<Tooltip
|
|
|
|
anchor={
|
|
|
|
anchor={
|
|
|
|
formatPreferredWordScore(data.customFormatScore)
|
|
|
|
formatPreferredWordScore(data.customFormatScore, customFormats.length)
|
|
|
|
}
|
|
|
|
|
|
|
|
tooltip={
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
customFormats.map((format) => {
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<Label key={format.id}>
|
|
|
|
|
|
|
|
{format.name}
|
|
|
|
|
|
|
|
</Label>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tooltip={<EpisodeFormats formats={customFormats} />}
|
|
|
|
position={tooltipPositions.BOTTOM}
|
|
|
|
position={tooltipPositions.BOTTOM}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</TableRowCell>
|
|
|
|
</TableRowCell>
|
|
|
|