chore: use more modern class syntax

This commit is contained in:
Matthias 2024-08-11 17:27:34 +02:00
parent fa62a860df
commit 3e36ccee81

View File

@ -29,7 +29,7 @@ const profitString = computed((): string => {
<template>
<div
class="d-flex justify-content-between align-items-center profit-pill ps-2 pe-1"
:class="isProfitable ? 'profit-pill-profit' : ''"
:class="{ 'profit-pill-profit': isProfitable }"
:title="profitDesc"
>
<ProfitSymbol :profit="(profitRatio || profitAbs) ?? 0" />