mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: show data for last 30 days where we say we do (#8850)
This change updates the stat for archived flags "this month". Turns out we were accessing the wrong property on the data object. Additionally, changes the label to say "last 30 days" instead of "this month" because that's more accurate.
This commit is contained in:
parent
dc7c46786a
commit
99f2b70da3
@ -240,10 +240,10 @@ export const ProjectLifecycleSummary = () => {
|
|||||||
<span>{flagWord('archived')} in archived</span>
|
<span>{flagWord('archived')} in archived</span>
|
||||||
</p>
|
</p>
|
||||||
<Stats>
|
<Stats>
|
||||||
<dt>This month</dt>
|
<dt>Last 30 days</dt>
|
||||||
<dd data-loading-project-lifecycle-summary>
|
<dd data-loading-project-lifecycle-summary>
|
||||||
{data?.lifecycleSummary.archived.currentFlags ?? 0}{' '}
|
{data?.lifecycleSummary.archived.last30Days ?? 0} flags
|
||||||
flags archived
|
archived
|
||||||
</dd>
|
</dd>
|
||||||
</Stats>
|
</Stats>
|
||||||
</LifecycleBox>
|
</LifecycleBox>
|
||||||
|
Loading…
Reference in New Issue
Block a user