From d1316a8beda323313dfac9976281b85003aeb13b Mon Sep 17 00:00:00 2001 From: tobikugel Date: Mon, 3 Mar 2025 16:28:21 -0300 Subject: [PATCH] Fixed if-else sequence for the correct appearance when the fullfilled rules and active rules equal zero. --- .../app/pages/portfolio/x-ray/x-ray-page.component.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html index ad801b554..3eccd02a7 100644 --- a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html +++ b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html @@ -29,14 +29,14 @@ }" > @if ( - statistics?.rulesFulfilledCount === statistics?.rulesActiveCount - ) { - - } @else if ( statistics?.rulesActiveCount === 0 || statistics?.rulesFulfilledCount === 0 ) { + } @else if ( + statistics?.rulesFulfilledCount === statistics?.rulesActiveCount + ) { + } @else { }