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 {
SelectProjectsDropdown,
TimeAgoTooltip,
},
inject: {
coverageTableEmptyStateSvgPath: {
type: String,
default: '',
},
},
data() {
return {
coverageData: [],
......@@ -184,7 +178,7 @@ export default {
<gl-empty-state
v-else
:svg-path="coverageTableEmptyStateSvgPath"
class="gl-mt-3"
:title="$options.text.emptyStateTitle"
:description="$options.text.emptyStateDescription"
data-testid="test-coverage-table-empty-state"
......
......@@ -25,8 +25,7 @@ const apolloProvider = new VueApollo({
export default () => {
const el = document.querySelector('#js-group-repository-analytics');
const { groupAnalyticsCoverageReportsPath, groupFullPath, coverageTableEmptyStateSvgPath } =
el?.dataset || {};
const { groupAnalyticsCoverageReportsPath, groupFullPath } = el?.dataset || {};
if (el) {
// eslint-disable-next-line no-new
......@@ -37,7 +36,6 @@ export default () => {
},
apolloProvider,
provide: {
coverageTableEmptyStateSvgPath,
groupAnalyticsCoverageReportsPath,
groupFullPath,
},
......
......@@ -5,5 +5,4 @@
= _("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"),
group_full_path: @group.full_path,
coverage_table_empty_state_svg_path: image_path('illustrations/chart-empty-state.svg') } }
group_full_path: @group.full_path } }
......@@ -11,9 +11,6 @@ describe('Test coverage table component', () => {
const createComponent = (mountFn = shallowMount, data = {}) => {
wrapper = mountFn(TestCoverageTable, {
localVue,
provide: {
coverageTableEmptyStateSvgPath: '/empty.svg',
},
data() {
return {
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