Avoid generating export file when no saved objects are actually exported #103597
Labels
enhancement
New value added to drive a business result
Feature:Saved Objects
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
triage_needed
With the recently added ability to filter out items
onExport
, it is possible to initiate an export where all selected objects are filtered out. This results in anndjson
with a single line containing the number of objects excluded, example:In this scenario, it would be nice to avoid generating this file altogether and show a warning to the user informing them that none of their objects were actually exported.
The text was updated successfully, but these errors were encountered: