diff --git a/src/pages/components/activity/activity-table.jsx b/src/pages/components/activity/activity-table.jsx index 0edc57a..3cd07d7 100644 --- a/src/pages/components/activity/activity-table.jsx +++ b/src/pages/components/activity/activity-table.jsx @@ -222,24 +222,38 @@ export default function ActivityTable(props) { row = row.original; if (row.PlayMethod === "Transcode") { return ( - - {i18next.t("TRANSCODE")} - {row.TranscodingInfo ? ( - - {!row.TranscodingInfo.IsVideoDirect && ({i18next.t("VIDEO")})} - {!row.TranscodingInfo.IsAudioDirect && ({i18next.t("AUDIO")})} - - ) : ( - "" - )} - + openModal(row)} className="text-decoration-none"> + + {i18next.t("TRANSCODE")} + {row.TranscodingInfo ? ( + + {!row.TranscodingInfo.IsVideoDirect && ({i18next.t("VIDEO")})} + {!row.TranscodingInfo.IsAudioDirect && ({i18next.t("AUDIO")})} + + ) : ( + "" + )} + + ); } else if (row.PlayMethod === "DirectPlay") { - return {i18next.t("DIRECT")}; + return ( + openModal(row)} className="text-decoration-none"> + {i18next.t("DIRECT")}{" "} + + ); } else if (row.PlayMethod === "DirectStream") { - return {i18next.t("DIRECT_STREAM")}; + return ( + openModal(row)} className="text-decoration-none"> + {i18next.t("DIRECT_STREAM")}{" "} + + ); } else { - return -; + return ( + openModal(row)} className="text-decoration-none" style={{ color: "gray" }}> + - + + ); } }, }, @@ -558,7 +572,8 @@ export default function ActivityTable(props) { setModalState(false)}> - : + + {": "} {!modalData?.SeriesName ? modalData?.NowPlayingItemName : modalData?.SeriesName + " - " + modalData?.NowPlayingItemName}{" "}