Skip to content

Commit

Permalink
Add code back to prevent adding ranks in tree def item dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
CarolineDenis committed Nov 15, 2024
1 parent 19d6065 commit f58d759
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ export function IntegratedRecordSelector({
aria-pressed={state.type === 'AddResourceState'}
disabled={
isReadOnly ||
(isToOne && collection.models.length > 0)
(isToOne && collection.models.length > 0) ||
isTaxonTreeDefItemTable
}
onClick={(): void => {
const resource =
Expand Down

0 comments on commit f58d759

Please sign in to comment.