diff --git a/ee/app/assets/javascripts/security_configuration/corpus_management/components/empty_state.vue b/ee/app/assets/javascripts/security_configuration/corpus_management/components/empty_state.vue index 7d914b3ae682fecc4f97ece45f031609424f887c..a577160e0a8b1c618e9b06236b6f630b217f5c2f 100644 --- a/ee/app/assets/javascripts/security_configuration/corpus_management/components/empty_state.vue +++ b/ee/app/assets/javascripts/security_configuration/corpus_management/components/empty_state.vue @@ -21,11 +21,7 @@ export default { </script> <template> - <gl-empty-state - :title="$options.i18n.emptyStateHeader" - :svg-path="emptyStateSvgPath" - :svg-height="null" - > + <gl-empty-state :title="$options.i18n.emptyStateHeader" :svg-path="emptyStateSvgPath"> <template #description> <gl-sprintf :message="$options.i18n.emptyStateText"> <template #link="{ content }"> diff --git a/ee/app/views/projects/security/corpus_management/show.html.haml b/ee/app/views/projects/security/corpus_management/show.html.haml index d2e1e9c5cc3229670a77f4a9e968b97afe835e8c..4f930f2aae75cf32079f70a42e8c9e722af9a358 100644 --- a/ee/app/views/projects/security/corpus_management/show.html.haml +++ b/ee/app/views/projects/security/corpus_management/show.html.haml @@ -3,7 +3,7 @@ - page_title s_('CorpusManagement|Fuzz testing corpus management') .js-corpus-management{ data: {project_full_path: @project.full_path, - empty_state_svg_path: image_path('illustrations/no_commits.svg'), + empty_state_svg_path: image_path('illustrations/empty-todos-md.svg'), can_upload_corpus: can?(current_user, :create_package, @project).to_s, can_read_corpus: can?(current_user, :read_package, @project&.packages_policy_subject).to_s, can_destroy_corpus: can?(current_user, :destroy_package, @project).to_s } } diff --git a/ee/spec/frontend/security_configuration/corpus_management/__snapshots__/empty_state_spec.js.snap b/ee/spec/frontend/security_configuration/corpus_management/__snapshots__/empty_state_spec.js.snap index d5fae00efe82923edc2f715c3b0eb20861b71b6c..636885b899a0ae57db863688ec2d42100523f3b5 100644 --- a/ee/spec/frontend/security_configuration/corpus_management/__snapshots__/empty_state_spec.js.snap +++ b/ee/spec/frontend/security_configuration/corpus_management/__snapshots__/empty_state_spec.js.snap @@ -10,6 +10,7 @@ exports[`EE - CorpusManagement - EmptyState should render correct content 1`] = <img alt="" class="gl-dark-invert-keep-hue gl-max-w-full" + height="144" src="/illustrations/no_commits.svg" /> </div>