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 { ...@@ -21,13 +21,11 @@ export default {
props: { props: {
exportCsvPath: { exportCsvPath: {
type: String, type: String,
required: false, required: true,
default: '',
}, },
issuableCount: { issuableCount: {
type: Number, type: Number,
required: false, required: true,
default: 0,
}, },
modalId: { modalId: {
type: String, type: String,
......
...@@ -13,6 +13,8 @@ describe('CsvExportModal', () => { ...@@ -13,6 +13,8 @@ describe('CsvExportModal', () => {
mount(CsvExportModal, { mount(CsvExportModal, {
propsData: { propsData: {
modalId: 'csv-export-modal', modalId: 'csv-export-modal',
exportCsvPath: 'export/csv/path',
issuableCount: 1,
...props, ...props,
}, },
provide: { 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