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> <script>
import { GlDeprecatedButton } from '@gitlab/ui'; import { GlButton } from '@gitlab/ui';
import { __ } from '~/locale'; import { __ } from '~/locale';
const HIDDEN_VALUE = '••••••'; const HIDDEN_VALUE = '••••••';
export default { export default {
components: { components: {
GlDeprecatedButton, GlButton,
}, },
props: { props: {
trigger: { trigger: {
...@@ -55,11 +55,12 @@ export default { ...@@ -55,11 +55,12 @@ export default {
<p class="trigger-variables-btn-container d-flex"> <p class="trigger-variables-btn-container d-flex">
<span class="font-weight-bold">{{ __('Trigger variables:') }}</span> <span class="font-weight-bold">{{ __('Trigger variables:') }}</span>
<gl-deprecated-button <gl-button
v-if="hasValues" 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" @click="toggleValues"
>{{ getToggleButtonText }}</gl-deprecated-button >{{ getToggleButtonText }}</gl-button
> >
</p> </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