Commit 0b3a2eac authored by v_mishra's avatar v_mishra

Migrate trigger block button

parent 92769ba5
<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,11 @@ 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"
@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