Skip to content

Commit

Permalink
Fix the title and the color of the toggle heatmap control.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Jan 4, 2025
1 parent 083ca7b commit 3376669
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/controls/heatmap_control.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const { t } = useI18n();
const displayHeatmap = ref(true);
const iconColor = computed(() => {
return displayHeatmap ? 'primary' : '';
return displayHeatmap.value ? 'primary' : '';
});
const title = computed(() => {
return displayHeatmap ? t('heatmap.hide') : t('heatmap.show');
})
return displayHeatmap.value ? t('heatmap.hide') : t('heatmap.show');
});
function toggleHeatmap() {
displayHeatmap.value = !displayHeatmap.value;
Expand Down

0 comments on commit 3376669

Please sign in to comment.