Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
austenem committed Oct 2, 2024
1 parent 7f56904 commit 81c7b68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function AddDatasetsFromDetailDialog({ uuid, dialogType }: AddDatasetsFromDetail
}

return (
// We're populating the table provider with the dataset from the detail page so as not to duplicate logic from the search dialog
<SelectableTableProvider key={uuid} tableLabel="Add Datasets From Detail Dialog" selectedRows={new Set([uuid])}>
<AddDatasetsFromSearchDialog />
</SelectableTableProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ function useCreateWorkspaceForm({
if (initialProtectedDatasets && initialProtectedDatasets !== '') {
setValue('protected-datasets', initialProtectedDatasets);
}
// Necessary to update dialog state between different processed datasets on detail pages
if (initialSelectedDatasets && initialSelectedDatasets.length !== 0) {
setValue('datasets', initialSelectedDatasets);
setValue('workspace-name', checkedWorkspaceName);
Expand Down

0 comments on commit 81c7b68

Please sign in to comment.