From c9c95610db04004c5bcdf2970bcfe21fe14172f1 Mon Sep 17 00:00:00 2001 From: Ben Capodanno Date: Mon, 28 Oct 2024 09:51:21 -0700 Subject: [PATCH] Fixed: Edit Button not Appearing After Experiment Publication Now that we handle this button state by asking the backend whether a user has permission for a certain action, it doesn't make sense to base the div component's visibility off the publication date of the experiment. Make the div visible always, and control the button visibility conditionally based on backend responses. --- src/components/screens/ExperimentView.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/screens/ExperimentView.vue b/src/components/screens/ExperimentView.vue index c517929c..3325fecb 100644 --- a/src/components/screens/ExperimentView.vue +++ b/src/components/screens/ExperimentView.vue @@ -5,14 +5,11 @@
{{ item.title || 'Untitled experiment' }}
-
+
-
- -
{{ item.shortDescription }}