Fix issues in `csv_import_export_buttons.vue`
In !57549 (comment 540826099), some issues were identified in csv_import_export_buttons.vue
.
We should fix:
-
csv_import_export_buttons.vue
andcsv_export_modal.vue
having differingissuableCount
defaults -
csv_export_modal.vue
havingissuableCount > -1
while havingissuableCount
defaulting to0
Also a bit curious about the logic in the modal. It has
issuableCount > -1
but the default value is 0, which means even if we don't pass the count, there will be quite a few things rendered.
Though in this case, would it make more sense to make the modal prop required, seeing as there's no point showing the modal at all (or the export button) if there are no issues? In fact, what's the use case for either of these two props not being required on either component?