summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-08-06 17:31:09 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-08-06 17:31:09 +0100
commit8bed16ee8458e287ccd30b4f9e01cc2b596b5929 (patch)
tree8ee86bd40fcd97490fec4fbfe8c298aa9ec85a2b /app/assets
parent4aa824e7059889c7b8badb4bd43cc44f9a01201f (diff)
downloadgitlab-ce-8bed16ee8458e287ccd30b4f9e01cc2b596b5929.tar.gz
Removes duplicate button65705-two-buttons
Prevents manual action button from being rendered twice in the job log empty state
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/jobs/components/empty_state.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/jobs/components/empty_state.vue b/app/assets/javascripts/jobs/components/empty_state.vue
index 275ed80146e..e2bc413e3ce 100644
--- a/app/assets/javascripts/jobs/components/empty_state.vue
+++ b/app/assets/javascripts/jobs/components/empty_state.vue
@@ -81,7 +81,7 @@ export default {
:variables-settings-url="variablesSettingsUrl"
/>
<div class="text-content">
- <div v-if="action" class="text-center">
+ <div v-if="action && !shouldRenderManualVariables" class="text-center">
<gl-link
:href="action.path"
:data-method="action.method"