diff --git a/frontend/src/Calendar/Agenda/AgendaEvent.js b/frontend/src/Calendar/Agenda/AgendaEvent.js
index 3d5aa36fb..726c55b76 100644
--- a/frontend/src/Calendar/Agenda/AgendaEvent.js
+++ b/frontend/src/Calendar/Agenda/AgendaEvent.js
@@ -50,6 +50,7 @@ class AgendaEvent extends Component {
absoluteEpisodeNumber,
airDateUtc,
monitored,
+ unverifiedSceneNumbering,
hasFile,
grabbed,
queueItem,
@@ -70,7 +71,7 @@ class AgendaEvent extends Component {
const statusStyle = getStatusStyle(hasFile, downloading, startTime, endTime, isMonitored);
const missingAbsoluteNumber = series.seriesType === 'anime' && seasonNumber > 0 && !absoluteEpisodeNumber;
const season = series.seasons.find((s) => s.seasonNumber === seasonNumber);
- const seasonStatistics = season.statistics || {};
+ const seasonStatistics = season?.statistics || {};
return (
@@ -131,6 +132,16 @@ class AgendaEvent extends Component {
/>
}
+ {
+ unverifiedSceneNumbering && !missingAbsoluteNumber ?
+ :
+ null
+ }
+
{
!!queueItem &&
@@ -237,6 +248,7 @@ AgendaEvent.propTypes = {
absoluteEpisodeNumber: PropTypes.number,
airDateUtc: PropTypes.string.isRequired,
monitored: PropTypes.bool.isRequired,
+ unverifiedSceneNumbering: PropTypes.bool,
hasFile: PropTypes.bool.isRequired,
grabbed: PropTypes.bool,
queueItem: PropTypes.object,
diff --git a/frontend/src/Calendar/Events/CalendarEvent.js b/frontend/src/Calendar/Events/CalendarEvent.js
index c5e819b00..b2c206841 100644
--- a/frontend/src/Calendar/Events/CalendarEvent.js
+++ b/frontend/src/Calendar/Events/CalendarEvent.js
@@ -79,7 +79,7 @@ class CalendarEvent extends Component {
const statusStyle = getStatusStyle(hasFile, isDownloading, startTime, endTime, isMonitored);
const missingAbsoluteNumber = series.seriesType === 'anime' && seasonNumber > 0 && !absoluteEpisodeNumber;
const season = series.seasons.find((s) => s.seasonNumber === seasonNumber);
- const seasonStatistics = season.statistics || {};
+ const seasonStatistics = season?.statistics || {};
return (
@@ -99,16 +99,6 @@ class CalendarEvent extends Component {
- {
- unverifiedSceneNumbering ?
- :
- null
- }
-
{
missingAbsoluteNumber ?
:
+ null
+ }
+
{
queueItem ?
@@ -255,9 +255,9 @@ CalendarEvent.propTypes = {
absoluteEpisodeNumber: PropTypes.number,
airDateUtc: PropTypes.string.isRequired,
monitored: PropTypes.bool.isRequired,
+ unverifiedSceneNumbering: PropTypes.bool,
hasFile: PropTypes.bool.isRequired,
grabbed: PropTypes.bool,
- unverifiedSceneNumbering: PropTypes.bool,
queueItem: PropTypes.object,
showEpisodeInformation: PropTypes.bool.isRequired,
showFinaleIcon: PropTypes.bool.isRequired,