Commit 4894bfe2 authored by Illya Klymov's avatar Illya Klymov

Merge branch '219912-replace-deprecated-button' into 'master'

Replace deprecated button

Closes #219912

See merge request gitlab-org/gitlab!40000
parents 2b90e26a bf9ee42b
<script>
import { GlAlert, GlDeprecatedButton, GlIntersectionObserver } from '@gitlab/ui';
import { GlAlert, GlButton, GlIntersectionObserver } from '@gitlab/ui';
import { __ } from '~/locale';
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import VulnerabilityList from './vulnerability_list.vue';
......@@ -12,7 +12,7 @@ export default {
name: 'ProjectVulnerabilitiesApp',
components: {
GlAlert,
GlDeprecatedButton,
GlButton,
GlIntersectionObserver,
VulnerabilityList,
},
......@@ -140,11 +140,11 @@ export default {
class="text-center"
@appear="fetchNextPage"
>
<gl-deprecated-button
<gl-button
:loading="isLoadingVulnerabilities"
:disabled="isLoadingVulnerabilities"
@click="fetchNextPage"
>{{ s__('SecurityReports|Load more vulnerabilities') }}</gl-deprecated-button
>{{ s__('SecurityReports|Load more vulnerabilities') }}</gl-button
>
</gl-intersection-observer>
</div>
......
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