{directoryPaths.length > 0 ? (
}
>
{expandAll || allDirectoriesExpanded ? "Collapse all folders" : "Expand all folders"}
) : null}
{error || pathSearch.error ? (
) : null}
{query.trim() && pathSearch.truncated && !pathSearch.isPending ? (
More matches available. Refine your search.
) : null}
{(isPending || pathSearch.isPending) && (
Loading files…
)}
);
}