Skip to content
Snippets Groups Projects
Commit ea7be976 authored by David Smadja's avatar David Smadja
Browse files

Merge branch...

Merge branch '355-les-dispositifs-prestations-sociales-du-graphique-se-cachent-montrent-en-meme-temps' into 'master'

Resolve "Les dispositifs "prestations sociales" du graphique se cachent/montrent en même temps"

Closes #355

See merge request !305
parents a9ee1ceb d5309a65
No related branches found
No related tags found
1 merge request!305Resolve "Les dispositifs "prestations sociales" du graphique se cachent/montrent en même temps"
Pipeline #19867 passed
...@@ -752,7 +752,7 @@ ...@@ -752,7 +752,7 @@
variableCustomizations[key] = variableCustomizations[key] =
variableCustomizations[ variableCustomizations[
getVariableCustomizationName( getVariableCustomizationName(
variable.parent, variable.name,
row.calculationName, row.calculationName,
) )
] ?? ] ??
...@@ -843,7 +843,7 @@ ...@@ -843,7 +843,7 @@
variableCustomizations[key] = variableCustomizations[key] =
variableCustomizations[ variableCustomizations[
getVariableCustomizationName( getVariableCustomizationName(
variable.parent, variable.name,
row.calculationName, row.calculationName,
) )
] ?? ] ??
...@@ -1006,6 +1006,7 @@ ...@@ -1006,6 +1006,7 @@
> >
{#each getCustomizations(groupName, row.calculationName) as customization} {#each getCustomizations(groupName, row.calculationName) as customization}
<button <button
aria-label="personnaliser l'apparence"
class="h-10 w-10 rounded border-2 border-neutral-300 hover:border-blue-500" class="h-10 w-10 rounded border-2 border-neutral-300 hover:border-blue-500"
onclick={() => { onclick={() => {
variableCustomizations[ variableCustomizations[
...@@ -1061,6 +1062,7 @@ ...@@ -1061,6 +1062,7 @@
initialPlacement="top" initialPlacement="top"
> >
<button <button
aria-labelledby="hide-show-tooltip-{variable.name}"
class="group h-full pl-0.5 pr-1" class="group h-full pl-0.5 pr-1"
onclick={() => { onclick={() => {
variableCustomizations[ variableCustomizations[
...@@ -1095,7 +1097,7 @@ ...@@ -1095,7 +1097,7 @@
</button> </button>
{#snippet tooltip()} {#snippet tooltip()}
<div <div
id="hide-show-tooltip" id="hide-show-tooltip-{variable.name}"
class="overflow-hidden rounded-lg bg-black px-2 py-1 text-sm text-white" class="overflow-hidden rounded-lg bg-black px-2 py-1 text-sm text-white"
title={isSelected ? "Cacher" : "Montrer"} title={isSelected ? "Cacher" : "Montrer"}
> >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment