Skip to content

Commit

Permalink
disable toggling for expanded big number (#5758)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovincyrus authored Sep 23, 2024
1 parent e1ee506 commit f493b9c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@
let suppressTooltip = false;
const handleExpandMeasure = () => {
isMeasureExpanded = !isMeasureExpanded;
dispatch("expand-measure");
if (!isMeasureExpanded) {
isMeasureExpanded = true;
dispatch("expand-measure");
}
};
</script>

Expand Down

1 comment on commit f493b9c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.