aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2024-12-16 21:59:19 -0500
committermorpheus65535 <[email protected]>2024-12-16 21:59:19 -0500
commit53afee309044cb465a2d868fdc2e1060fc0095ce (patch)
treee2c69cf49dcf9717ec446be05ff83d963ce7723d
parentd502cac41fec300d532a23e818140e1ae7e6f91c (diff)
downloadbazarr-series_status.tar.gz
bazarr-series_status.zip
-rw-r--r--frontend/src/pages/Series/index.tsx38
1 files changed, 14 insertions, 24 deletions
diff --git a/frontend/src/pages/Series/index.tsx b/frontend/src/pages/Series/index.tsx
index d117e7a6f..6da300c3a 100644
--- a/frontend/src/pages/Series/index.tsx
+++ b/frontend/src/pages/Series/index.tsx
@@ -1,6 +1,6 @@
import { FunctionComponent, useMemo } from "react";
import { Link } from "react-router-dom";
-import { Anchor, Container, Progress } from "@mantine/core";
+import { Anchor, Container, Group, Progress } from "@mantine/core";
import { useDocumentTitle } from "@mantine/hooks";
import { faBookmark as farBookmark } from "@fortawesome/free-regular-svg-icons";
import {
@@ -28,29 +28,19 @@ const SeriesView: FunctionComponent = () => {
const columns = useMemo<ColumnDef<Item.Series>[]>(
() => [
{
- id: "monitored",
- cell: ({
- row: {
- original: { monitored },
- },
- }) => (
- <FontAwesomeIcon
- title={monitored ? "monitored" : "unmonitored"}
- icon={monitored ? faBookmark : farBookmark}
- ></FontAwesomeIcon>
- ),
- },
- {
- id: "ended",
- cell: ({
- row: {
- original: { ended },
- },
- }) => (
- <FontAwesomeIcon
- title={ended ? "Ended" : "Continuing"}
- icon={ended ? faStop : faPlay}
- ></FontAwesomeIcon>
+ id: "status",
+ cell: ({ row: { original } }) => (
+ <Group gap="xs" wrap="nowrap">
+ <FontAwesomeIcon
+ title={original.monitored ? "monitored" : "unmonitored"}
+ icon={original.monitored ? faBookmark : farBookmark}
+ ></FontAwesomeIcon>
+
+ <FontAwesomeIcon
+ title={original.ended ? "Ended" : "Continuing"}
+ icon={original.ended ? faStop : faPlay}
+ ></FontAwesomeIcon>
+ </Group>
),
},
{