mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 04:55:15 +00:00
chore: use more modern class syntax
This commit is contained in:
parent
fa62a860df
commit
3e36ccee81
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user