diff --git a/src/lib/Sidebar.svelte b/src/lib/Sidebar.svelte index de91c54..719063a 100644 --- a/src/lib/Sidebar.svelte +++ b/src/lib/Sidebar.svelte @@ -1,11 +1,17 @@ -
| Allocation method | {#each Object.values(allocationMethods) as { label }} -{label} | ++ {#if label === 'Grandfathering'} + {label} + {:else} + {label} + {/if} + | {/each}
|---|---|---|
| 2030 reductions relative to 2015 |
{#each Object.keys(allocationMethods) as id}
- {reductions[id][2030] === null ? '-' : $tweenedReductions[id][2030].toFixed(0)}% | ++ {reductions[id][2030] === null ? '-' : $tweenedReductions[id][2030].toFixed(0)}% + | {/each}
| 2040 reductions relative to 2015 |
{#each Object.keys(allocationMethods) as id}
- {reductions[id][2040] === null ? '-' : $tweenedReductions[id][2040].toFixed(0)}% | ++ {reductions[id][2040] === null ? '-' : $tweenedReductions[id][2040].toFixed(0)}% + | {/each}
| Display graph | {#each Object.entries(allocationMethods) as [id, { color }]} -+ | {#if availableAllocationMethods.has(id)} {/if} - + | {/each}