From 09853c8fda563dcf61d67ff6a8af040091cbdec2 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Wed, 22 May 2024 21:14:52 -0500 Subject: [PATCH] remove links to empty placeholder queue detail page --- ui/src/components/JobDetail.tsx | 11 ++--------- ui/src/components/QueueList.tsx | 24 ++++++++++-------------- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/ui/src/components/JobDetail.tsx b/ui/src/components/JobDetail.tsx index 1ba55e4..f6ebe7f 100644 --- a/ui/src/components/JobDetail.tsx +++ b/ui/src/components/JobDetail.tsx @@ -118,7 +118,6 @@ export default function JobDetail({ cancel, job, retry }: JobDetailProps) {

ID: {job.id.toString()} - {/* {capitalize(job.state)} */}

@@ -159,14 +158,8 @@ export default function JobDetail({ cancel, job, retry }: JobDetailProps) {
Queue
-
- - {job.queue} - +
+ {job.queue}
diff --git a/ui/src/components/QueueList.tsx b/ui/src/components/QueueList.tsx index e7f1ed5..b23c5fa 100644 --- a/ui/src/components/QueueList.tsx +++ b/ui/src/components/QueueList.tsx @@ -69,22 +69,10 @@ const QueueList = ({ {queues.map((queue) => ( - + {queue.name} - +
-
Created
-
- -
Available
{queue.countAvailable} available @@ -93,6 +81,14 @@ const QueueList = ({
{queue.countRunning} running
+
Created
+
+ +