@@ -7,6 +7,7 @@ import { formatHumanReadableDuration } from '@/packages/ui/src/utils/time';
77import ReportingRow from ' @/Components/Common/Reporting/ReportingRow.vue' ;
88import { formatCents } from ' @/packages/ui/src/utils/money' ;
99import type { CurrencyFormat } from ' @/packages/ui/src/utils/money' ;
10+ import { getOrganizationCurrencyString } from ' @/utils/money' ;
1011import { computed , onMounted , provide , ref } from ' vue' ;
1112import { useQuery } from ' @tanstack/vue-query' ;
1213import { api } from ' @/packages/api/src' ;
@@ -184,20 +185,16 @@ onMounted(async () => {
184185 </div >
185186 <div class =" px-6 pt-6 pb-3" >
186187 <template
187- v-for =" reportingRowEntry in aggregatedTableTimeEntries ?. grouped_data "
188- :key =" reportingRowEntry .key " >
188+ v-for =" reportingRowEntry in tableData "
189+ :key =" reportingRowEntry .description " >
189190 <ReportingRow
190- :reporting-row-entry =" reportingRowEntry"
191- :grouped-type ="
192- aggregatedTableTimeEntries?.grouped_type
193- "
194- :show-seconds =" false"
195- :group =" group"
196- :sub-group =" subGroup" ></ReportingRow >
191+ :entry =" reportingRowEntry"
192+ :currency =" getOrganizationCurrencyString()" ></ReportingRow >
197193 </template >
198194 <div
199195 v-if ="
200196 aggregatedTableTimeEntries &&
197+ aggregatedTableTimeEntries.grouped_data &&
201198 aggregatedTableTimeEntries.grouped_data.length >
202199 0
203200 "
0 commit comments