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