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

Update to Pyjamas gl-button for remove icon button

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