Commit 1d743b15 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'add-license-button' into 'master'

Update license button

Closes #219879

See merge request gitlab-org/gitlab!36232
parents 1ff4c2af 85ece8e3
<script>
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import { GlDeprecatedButton } from '@gitlab/ui';
import { GlButton } from '@gitlab/ui';
import LoadingButton from '~/vue_shared/components/loading_button.vue';
import { LICENSE_APPROVAL_STATUS } from '../constants';
import AddLicenseFormDropdown from './add_license_form_dropdown.vue';
......@@ -10,7 +10,7 @@ export default {
name: 'AddLicenseForm',
components: {
AddLicenseFormDropdown,
GlDeprecatedButton,
GlButton,
LoadingButton,
},
mixins: [glFeatureFlagsMixin()],
......@@ -119,13 +119,8 @@ export default {
data-qa-selector="add_license_submit_button"
@click="addLicense"
/>
<gl-deprecated-button
class="js-cancel"
variant="default"
:disabled="loading"
@click="closeForm"
>
<gl-button class="js-cancel" :disabled="loading" @click="closeForm">
{{ s__('LicenseCompliance|Cancel') }}
</gl-deprecated-button>
</gl-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