Skip to content

Commit

Permalink
Merge pull request #1592 from Caltech-IPAC/IRSA-6248-wise-ztf-appicon
Browse files Browse the repository at this point in the history
IRSA-6248: fix bug in HydraLanding that prevent it from passing in slotProps
  • Loading branch information
loitly authored Jul 23, 2024
2 parents 9209284 + 1aec359 commit f4f9df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firefly/js/templates/hydra/HydraViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function ResultSection({slotProps}) {
const layoutInfo = useStoreConnector(getLayouInfo);
const {showImages, showXyPlots, showTables} = layoutInfo;

if (!(showImages || showXyPlots || showTables)) return <Slot component={HydraLanding} {...slotProps?.landing}/>;
if (!(showImages || showXyPlots || showTables)) return <Slot component={HydraLanding} slotProps={slotProps?.landing}/>;


const {currentSearch, images} = layoutInfo;
Expand Down

0 comments on commit f4f9df2

Please sign in to comment.