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

Don't throw an exception when budget response has no errors attribute

parent 80a82525
No related branches found
No related tags found
No related merge requests found
Pipeline #10655 passed
......@@ -1348,7 +1348,7 @@
{#if displayMode.budget}
{#if displayMode.parametersVariableName !== undefined}
<div class="mb-6 flex flex-col px-2 lg:px-5 w-screen md:w-full">
{#if $budgetSimulation === undefined || $budgetSimulation.errors.length > 0}
{#if $budgetSimulation === undefined || ($budgetSimulation.errors != null && $budgetSimulation.errors.length > 0)}
{#if displayMode.parametersVariableName !== undefined}
<div class="z-10 bg-le-jaune bg-opacity-20">
<Spinner />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment