Commit db73a56d authored by Emily Ring's avatar Emily Ring Committed by Jose Ivan Vargas

Replaced gl-deprecated-button with gl-button

parent ae3cf188
<script>
import { GlDeprecatedButton, GlLoadingIcon } from '@gitlab/ui';
import { GlButton, GlLoadingIcon } from '@gitlab/ui';
import { __ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue';
export default {
components: {
GlDeprecatedButton,
GlButton,
GlLoadingIcon,
Icon,
},
......@@ -58,16 +58,17 @@ export default {
</div>
<template v-else>
<gl-deprecated-button
<button
class="btn-blank btn s32 square append-right-default"
type="button"
:aria-label="ariaLabel"
:disabled="isLoading"
@click="toggleCollapsed"
>
<gl-loading-icon v-if="isLoading" />
<icon v-else :name="arrowIconName" class="js-icon" />
</gl-deprecated-button>
<gl-deprecated-button
</button>
<gl-button
variant="link"
class="js-title"
:disabled="isLoading"
......@@ -76,7 +77,7 @@ export default {
>
<template v-if="isCollapsed">{{ title }}</template>
<template v-else>{{ __('Collapse') }}</template>
</gl-deprecated-button>
</gl-button>
</template>
</div>
......
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