Commit 42c895d9 authored by Scott Hampton's avatar Scott Hampton

Remove the empty illustration

Since we don't have an illustration that matches
this use case yet, we are opting to just not have
an image for now.
parent 20f16bdf
...@@ -15,12 +15,6 @@ export default { ...@@ -15,12 +15,6 @@ export default {
SelectProjectsDropdown, SelectProjectsDropdown,
TimeAgoTooltip, TimeAgoTooltip,
}, },
inject: {
coverageTableEmptyStateSvgPath: {
type: String,
default: '',
},
},
data() { data() {
return { return {
coverageData: [], coverageData: [],
...@@ -184,7 +178,7 @@ export default { ...@@ -184,7 +178,7 @@ export default {
<gl-empty-state <gl-empty-state
v-else v-else
:svg-path="coverageTableEmptyStateSvgPath" class="gl-mt-3"
:title="$options.text.emptyStateTitle" :title="$options.text.emptyStateTitle"
:description="$options.text.emptyStateDescription" :description="$options.text.emptyStateDescription"
data-testid="test-coverage-table-empty-state" data-testid="test-coverage-table-empty-state"
......
...@@ -25,8 +25,7 @@ const apolloProvider = new VueApollo({ ...@@ -25,8 +25,7 @@ const apolloProvider = new VueApollo({
export default () => { export default () => {
const el = document.querySelector('#js-group-repository-analytics'); const el = document.querySelector('#js-group-repository-analytics');
const { groupAnalyticsCoverageReportsPath, groupFullPath, coverageTableEmptyStateSvgPath } = const { groupAnalyticsCoverageReportsPath, groupFullPath } = el?.dataset || {};
el?.dataset || {};
if (el) { if (el) {
// eslint-disable-next-line no-new // eslint-disable-next-line no-new
...@@ -37,7 +36,6 @@ export default () => { ...@@ -37,7 +36,6 @@ export default () => {
}, },
apolloProvider, apolloProvider,
provide: { provide: {
coverageTableEmptyStateSvgPath,
groupAnalyticsCoverageReportsPath, groupAnalyticsCoverageReportsPath,
groupFullPath, groupFullPath,
}, },
......
...@@ -5,5 +5,4 @@ ...@@ -5,5 +5,4 @@
= _("Repositories Analytics") = _("Repositories Analytics")
#js-group-repository-analytics{ data: { group_analytics_coverage_reports_path: group_analytics_coverage_reports_path(@group, format: :csv, ref_path: "refs/heads/master"), #js-group-repository-analytics{ data: { group_analytics_coverage_reports_path: group_analytics_coverage_reports_path(@group, format: :csv, ref_path: "refs/heads/master"),
group_full_path: @group.full_path, group_full_path: @group.full_path } }
coverage_table_empty_state_svg_path: image_path('illustrations/chart-empty-state.svg') } }
...@@ -11,9 +11,6 @@ describe('Test coverage table component', () => { ...@@ -11,9 +11,6 @@ describe('Test coverage table component', () => {
const createComponent = (mountFn = shallowMount, data = {}) => { const createComponent = (mountFn = shallowMount, data = {}) => {
wrapper = mountFn(TestCoverageTable, { wrapper = mountFn(TestCoverageTable, {
localVue, localVue,
provide: {
coverageTableEmptyStateSvgPath: '/empty.svg',
},
data() { data() {
return { return {
coverageData: [], coverageData: [],
......
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