Skip to content

Commit fd251ff

Browse files
authored
Merge pull request #1332 from david-roper/load-subject-table
Fix subject table not loading by updating useInstrumentVisualizaiton useEffect
2 parents f64d645 + 16ad43c commit fd251ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/web/src/hooks/useInstrumentVisualization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export function useInstrumentVisualization({ params }: UseInstrumentVisualizatio
250250
type: 'error'
251251
});
252252
}
253-
}, [recordsQuery.data]);
253+
}, [recordsQuery.data, sessionsUsernameQuery.data]);
254254

255255
const instrumentOptions: { [key: string]: string } = useMemo(() => {
256256
const options: { [key: string]: string } = {};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "opendatacapture",
33
"type": "module",
4-
"version": "1.13.6",
4+
"version": "1.13.7",
55
"private": true,
66
"packageManager": "pnpm@10.7.0",
77
"license": "Apache-2.0",

0 commit comments

Comments
 (0)