From 9759ad41a9e52bed6aed36412250a74824936ac9 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 1 Dec 2023 17:27:19 +0100 Subject: [PATCH] fix(ui): uxt fixes --- .../components/UsabilityTesting/TestEdit.tsx | 6 ++++- .../UsabilityTesting/TestOverview.tsx | 23 +++++++++---------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/frontend/app/components/UsabilityTesting/TestEdit.tsx b/frontend/app/components/UsabilityTesting/TestEdit.tsx index 9b3280560..4d9a8eb56 100644 --- a/frontend/app/components/UsabilityTesting/TestEdit.tsx +++ b/frontend/app/components/UsabilityTesting/TestEdit.tsx @@ -110,6 +110,7 @@ function TestEdit() { } }; + const isPublished = uxtestingStore.instance.status !== undefined && uxtestingStore.instance.status !== 'preview' return (
{ @@ -252,7 +254,7 @@ function TestEdit() { description={task.description} buttons={ <> -
-
+
{uxtestingStore.instance!.description}