diff --git a/src/views/History/HistoryCard.jsx b/src/views/History/HistoryCard.jsx index da13e60..555bdbb 100644 --- a/src/views/History/HistoryCard.jsx +++ b/src/views/History/HistoryCard.jsx @@ -7,7 +7,6 @@ import { RunningWithErrors, Schedule, ThumbDown, - Timelapse, } from '@mui/icons-material' import { Avatar, Box, Card, Chip, IconButton, Typography } from '@mui/joy' import moment from 'moment' @@ -15,15 +14,6 @@ import { useLocalization } from '../../contexts/LocalizationContext' import { TASK_COLOR } from '../../utils/Colors.jsx' import PendingBadge from '../components/PendingBadge' -const getCompletedChip = historyEntry => { - if ( - historyEntry.status === 0 || - historyEntry.status === 5 || - historyEntry.status === 6 - ) { - return null - } - const formatTime = seconds => { if (typeof seconds !== 'number' || isNaN(seconds) || seconds < 0) return null const h = Math.floor(seconds / 3600)