Skip to content

Commit

Permalink
quick fix for FSR vs LoadCell visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
fchorney committed Apr 16, 2024
1 parent 78857ec commit feb0e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/stage/stage-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export function StageTest({
const config = useConfig(stage);

let panels: React.ReactNode;
if (config?.flags.PlatformFlags_FSR) {
if (stage?.config?.flags.PlatformFlags_FSR) {
panels = timez(9, (idx) => (
<FsrPanel
disabled={config.enabledSensors[idx].every((enabled) => !enabled)}
disabled={config?.enabledSensors[idx].every((enabled) => !enabled)}
active={inputState?.[idx]}
key={idx}
testData={testData?.panels[idx]}
Expand Down

0 comments on commit feb0e7e

Please sign in to comment.