Commit 23c6c662 authored by Coung Ngo's avatar Coung Ngo

Tweak csv_export_modal.vue props

Make props required since they're being defaulted in
csv_import_export_buttons.vue
parent 021ca831
......@@ -21,13 +21,11 @@ export default {
props: {
exportCsvPath: {
type: String,
required: false,
default: '',
required: true,
},
issuableCount: {
type: Number,
required: false,
default: 0,
required: true,
},
modalId: {
type: String,
......
......@@ -13,6 +13,8 @@ describe('CsvExportModal', () => {
mount(CsvExportModal, {
propsData: {
modalId: 'csv-export-modal',
exportCsvPath: 'export/csv/path',
issuableCount: 1,
...props,
},
provide: {
......
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