Skip to content
Snippets Groups Projects
Commit a440c475 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Add link to waterfall even in non-advanced mode.

parent 18c4a526
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,6 @@
export let year: number
const adaptAmountsScale = getContext("adaptAmountsScale") as Writable<boolean>
const advanced = $session.advanced
const dateFormatter = new Intl.DateTimeFormat("fr-FR", { dateStyle: "full" })
const deltaFormatter = new Intl.NumberFormat("fr-FR", {
currency: "EUR",
......@@ -159,7 +158,6 @@
class="hover:bg-white border-gray-400 overflow-ellipsis overflow-x-hidden hover:overflow-x-visible text-base text-gray-500 hover:z-20 ml-2"
class:border-t={index !== 0}
>
{#if advanced}
{#if ["test_case", "test_case_with_variable_inputs"].includes(editionMode?.mode)}
<!-- Trunk decomposition node, in variable inputs mode => link -->
<a
......@@ -181,11 +179,6 @@
>{decomposition.ux_name ?? decomposition.label}</a
>
{/if}
{:else}
<span class="text-sm"
>{decomposition.ux_name ?? decomposition.label}</span
>
{/if}
</div>
{:else}
{#each [...iterToDepth(depth)] as _level}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment