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