diff --git a/src/lib/components/test_cases/TestCaseGraph.svelte b/src/lib/components/test_cases/TestCaseGraph.svelte index cc0d071f05ae86f6df07af6bb5e69c2fab208b5a..1e20b2efed1da2859f9c37ea60bb829fc31fe85f 100644 --- a/src/lib/components/test_cases/TestCaseGraph.svelte +++ b/src/lib/components/test_cases/TestCaseGraph.svelte @@ -1607,7 +1607,12 @@ class="py-2 px-3 bg-gray-100 border-b border-gray-200" > <h3 class="font-semibold text-gray-900"> - Déciles de niveau de vie (droit 2024) + Déciles de niveau de vie + {#if $billName !== undefined} + droit {$yearPLF} <br />sans PLF/PLSS + {:else} + droit {$yearPLF - 1} + {/if} </h3> </div> <div class="py-2 px-3"> @@ -1636,7 +1641,13 @@ </div> </div> </Tooltip> - <span class="text-nowrap text-xs">(droit 2024)</span> + <span class="text-nowrap text-xs" + >({#if $billName !== undefined} + droit {$yearPLF} <br />sans PLF/PLSS + {:else} + droit {$yearPLF - 1} + {/if})</span + > {:else} {formatShortOrdinal(rate)} {/if}