Skip to content

Commit

Permalink
Highlight the wrtie menu items when in data entry forms
Browse files Browse the repository at this point in the history
  • Loading branch information
CarolineDenis committed May 12, 2023
1 parent eb5ab19 commit 71b9edc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function ShowResource({
typeof recordSet === 'object' &&
interactionTables.has(resource.specifyModel.name)
? 'interactions'
: typeof recordSet === 'object'
: typeof recordSet === 'object' && typeof recordSetId === 'number'
? 'recordSets'
: 'dataEntry'
);
Expand Down

0 comments on commit 71b9edc

Please sign in to comment.