Skip to content
Snippets Groups Projects
Commit 8393f464 authored by Illya Klymov's avatar Illya Klymov :rocket:
Browse files

Merge branch 'license-comp-btn' into 'master'

License compliance modal button migration

Closes #219846

See merge request !40747
parents 10e38d8f 392a59f4
No related branches found
No related tags found
1 merge request!40747License compliance modal button migration
Pipeline #183994250 passed
<script>
import { uniqueId } from 'lodash';
import { GlLink, GlIntersperse, GlModal, GlDeprecatedButton, GlModalDirective } from '@gitlab/ui';
import { GlLink, GlIntersperse, GlModal, GlButton, GlModalDirective } from '@gitlab/ui';
import { sprintf, s__ } from '~/locale';
const MODAL_ID_PREFIX = 'license-component-link-modal-';
......@@ -10,7 +10,7 @@ export default {
components: {
GlIntersperse,
GlLink,
GlDeprecatedButton,
GlButton,
GlModal,
},
directives: {
......@@ -68,14 +68,14 @@ export default {
}}</gl-link>
<template v-else>{{ component.name }}</template>
</span>
<gl-deprecated-button
<gl-button
v-if="hasComponentsInModal"
v-gl-modal-directive="modalId"
variant="link"
class="align-baseline js-component-links-modal-trigger"
>
{{ modalButtonText }}
</gl-deprecated-button>
</gl-button>
</gl-intersperse>
<gl-modal
v-if="hasComponentsInModal"
......
---
title: ee Migrating modal button in License Compliance
merge_request: 40747
author:
type: changed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment