Skip to content

Commit

Permalink
feat(pci.ai.jobs): fix sonar issue
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Bullet <arthur.bullet@ovhcloud.com>
  • Loading branch information
abullet33 committed Feb 6, 2025
1 parent b01ff7a commit 82478a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const FlavorDetails = ({ order, onSectionClicked }: OrderSummaryProps) => {
<Skeleton className="h-4 w-20" />
)}
</div>
{order.flavor && order.resourcesQuantity && (
{order.flavor && (
<div>
<div className="flex items-center pl-4 gap-2">
<Cpu className="size-4" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const FlavorDetails = ({ order, onSectionClicked }: OrderSummaryProps) => {
>
{t('summaryFieldFlavorLabel')}
</Button>
{order.flavor && order.resourcesQuantity ? (
{order.flavor ? (
<span className="capitalize">{`${order.resourcesQuantity} ${order.flavor.id}`}</span>
) : (
<Skeleton className="h-4 w-20" />
Expand Down

0 comments on commit 82478a9

Please sign in to comment.