Skip to content

Commit

Permalink
Fixes comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin-pc authored Mar 31, 2023
1 parent 752a866 commit 6c7997e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const RightNav = () => {
style: types.get(newVisName)?.ui.containerConfig.style.defaults,
};

if (persistedAggParams.length <= aggConfigParams.length) return setConfirmAggs(newVis);
if (persistedAggParams.length < aggConfigParams.length) return setConfirmAggs(newVis);

dispatch(setActiveVisualization(newVis));
},
Expand Down

0 comments on commit 6c7997e

Please sign in to comment.