Commit bf9ee42b authored by Kyle Mann's avatar Kyle Mann

Replace deprecated button

parent 6521a6ec
<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