Commit 1e54c92a authored by clenneville's avatar clenneville

Remove deprecated button and default variant

parent de5c202f
<script> <script>
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';
...@@ -9,7 +9,7 @@ export default { ...@@ -9,7 +9,7 @@ export default {
name: 'AddLicenseForm', name: 'AddLicenseForm',
components: { components: {
AddLicenseFormDropdown, AddLicenseFormDropdown,
GlDeprecatedButton, GlButton,
LoadingButton, LoadingButton,
}, },
LICENSE_APPROVAL_STATUS, LICENSE_APPROVAL_STATUS,
...@@ -95,13 +95,12 @@ export default { ...@@ -95,13 +95,12 @@ 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" class="js-cancel"
variant="default"
:disabled="loading" :disabled="loading"
@click="closeForm" @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