Commit a87bd40a authored by Mark Florian's avatar Mark Florian

Merge branch '326551-fix-issues-in-csv_import_export_buttons-vue' into 'master'

Fix issues in `csv_import_export_buttons.vue`

See merge request gitlab-org/gitlab!61023
parents da32af6d 23c6c662
...@@ -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