Commit ba729e60 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '219847-migrate-trigger-block-button' into 'master'

Migrate trigger block button on the jobs log page

See merge request gitlab-org/gitlab!44466
parents b0b0cec7 1b046b8a
<script>
import { GlDeprecatedButton } from '@gitlab/ui';
import { GlButton } from '@gitlab/ui';
import { __ } from '~/locale';
const HIDDEN_VALUE = '••••••';
export default {
components: {
GlDeprecatedButton,
GlButton,
},
props: {
trigger: {
......@@ -55,11 +55,12 @@ export default {
<p class="trigger-variables-btn-container d-flex">
<span class="font-weight-bold">{{ __('Trigger variables:') }}</span>
<gl-deprecated-button
<gl-button
v-if="hasValues"
class="btn-sm group js-reveal-variables trigger-variables-btn"
class="group js-reveal-variables trigger-variables-btn"
size="small"
@click="toggleValues"
>{{ getToggleButtonText }}</gl-deprecated-button
>{{ getToggleButtonText }}</gl-button
>
</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment