mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat(API): Return null deviation on insights summary if previous period has no data (#14193)
This commit is contained in:
committed by
GitHub
parent
41b1797a25
commit
ffc0a596e0
@@ -76,7 +76,7 @@ const getImpactStyle = (id: keyof InsightsSummary, value: number) => {
|
||||
<em
|
||||
>{{ smartDecimal(value) }} <i>{{ unit }}</i></em
|
||||
>
|
||||
<small :class="getImpactStyle(id, deviation)">
|
||||
<small v-if="deviation !== null" :class="getImpactStyle(id, deviation)">
|
||||
<N8nIcon
|
||||
:class="[$style.icon, getImpactStyle(id, deviation)]"
|
||||
:icon="deviation === 0 ? 'caret-right' : deviation > 0 ? 'caret-up' : 'caret-down'"
|
||||
|
||||
Reference in New Issue
Block a user