Skip to content

Commit

Permalink
Fix isSelectAll logic
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Mar 5, 2024
1 parent 34e75c2 commit 4c35576
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function AssistantBuilderDataSourceModal({
if (!selectedDataSource) {
throw new Error("Cannot save an incomplete configuration");
}
if (selectedResources.length) {
if (selectedResources.length || isSelectAll) {
onSave({
dataSource: selectedDataSource,
selectedResources,
Expand Down

0 comments on commit 4c35576

Please sign in to comment.