Skip to content

Commit

Permalink
Dissable browse to form when no results
Browse files Browse the repository at this point in the history
Fixes #3796
  • Loading branch information
CarolineDenis committed Jul 18, 2023
1 parent 39ac72d commit d185519
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ export function QueryToForms({
return (
<>
<Button.Small
disabled={results.length === 0 || totalCount === undefined}
disabled={results.length === 0 || totalCount === undefined || totalCount === 0}
onClick={handleOpen}
>
{queryText.browseInForms()}
Expand Down

0 comments on commit d185519

Please sign in to comment.