Commit 88255ae1 authored by Michael Le's avatar Michael Le

Update to Pyjamas gl-button for remove icon button

parent 7ccd8dd9
<script>
import { GlDeprecatedButton, GlLink, GlTooltipDirective } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
import { GlButton, GlLink, GlTooltipDirective } from '@gitlab/ui';
import ProjectAvatar from '~/vue_shared/components/project_avatar/default.vue';
import { __ } from '~/locale';
export default {
components: {
Icon,
ProjectAvatar,
GlDeprecatedButton,
GlButton,
GlLink,
},
directives: {
......@@ -64,13 +62,14 @@ export default {
<span class="js-project-name bold"> {{ project.name }}</span>
</gl-link>
</div>
<gl-deprecated-button
<gl-button
v-gl-tooltip
class="js-remove-button bg-transparent border-0 p-0 text-secondary"
class="js-remove-button"
category="tertiary"
:title="title"
:aria-label="title"
icon="remove"
@click="onRemove"
>
<icon name="remove" />
</gl-deprecated-button>
/>
</div>
</template>
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