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> <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 ProjectAvatar from '~/vue_shared/components/project_avatar/default.vue';
import { __ } from '~/locale'; import { __ } from '~/locale';
export default { export default {
components: { components: {
GlIcon,
ProjectAvatar, ProjectAvatar,
GlDeprecatedButton, GlButton,
GlLink, GlLink,
}, },
directives: { directives: {
...@@ -63,13 +62,14 @@ export default { ...@@ -63,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"
> />
<gl-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