Commit 8d588f0c authored by Simon Knox's avatar Simon Knox

Merge branch '219887-replace-operation-remove-btn' into 'master'

Update to Pyjamas gl-button in "ee/app/assets/javascripts/operations/components/dashboard/project_header.vue"

Closes #219887

See merge request gitlab-org/gitlab!39792
parents 1b115904 d59429ba
<script>
import { GlDeprecatedButton, GlLink, GlTooltipDirective, GlIcon } from '@gitlab/ui';
import { GlButton, GlLink, GlTooltipDirective } from '@gitlab/ui';
import ProjectAvatar from '~/vue_shared/components/project_avatar/default.vue';
import { __ } from '~/locale';
export default {
components: {
GlIcon,
ProjectAvatar,
GlDeprecatedButton,
GlButton,
GlLink,
},
directives: {
......@@ -63,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"
>
<gl-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