Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"vitest": "catalog:vitest",
"vitest-mock-extended": "5.1.1",
"vue": "3.5.41",
"vue-tsc": "3.3.10"
"vue-tsc": "3.3.11"
},
"engines": {
"node": ">=24.19.0 <25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function removeItem(item: string) {
<ul class="dropdown-menu text-small mt-2">
<div class="overflow-auto pe-3" :style="{ maxHeight: '35vh' }">
<div class="d-flex flex-column gap-2">
<template v-for="item in items" :key="item">
<template v-for="item in items" :key="item.label">
<div class="d-flex align-items-center">
<div
v-if="selectedItems.length > 0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const handleRemoveFilter = (e: Event): void => {
<ul class="dropdown-menu text-small mt-2">
<div class="overflow-auto pe-3" :style="{ maxHeight: '35vh' }">
<div class="d-flex flex-column gap-2">
<template v-for="ial in props.itemAndLabels" :key="ial">
<template v-for="ial in props.itemAndLabels" :key="ial.label">
<div class="d-flex align-items-center">
<div
v-if="selectedItems.length > 0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ onMounted(async () => {
<div class="row mt-3">
<div class="col-5 flex-1">
<div class="mt-3">
<template v-for="(debit, i) in data.transfers" :key="debit.accountId">
<template v-for="(debit, i) in data.transfers" :key="debit.accountId.toString()">
<div v-if="debit.amount.isNegative()" class="mt-3">
<div class="row align-items-center px-3">
<div class="col-5 flex-centered justify-content-start flex-wrap overflow-hidden">
Expand Down Expand Up @@ -270,7 +270,7 @@ onMounted(async () => {
<div class="col-1"></div>
<div class="col-5 flex-1">
<div class="mt-3">
<template v-for="(credit, i) in data.transfers" :key="credit.accountId">
<template v-for="(credit, i) in data.transfers" :key="credit.accountId.toString()">
<div v-if="!credit.amount.isNegative()" class="mt-3">
<div class="row align-items-center px-3">
<div class="col-5 flex-centered justify-content-start flex-wrap overflow-hidden">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ onBeforeMount(async () => {
:hbar-transfers="props.transaction.hbarTransfersList"
:linkedAccounts="linkedAccounts"
/>
<template v-for="tokenId in props.transaction.tokenTransfers.keys()" :key="tokenId">
<template v-for="tokenId in props.transaction.tokenTransfers.keys()" :key="tokenId.toString()">
<TokenTransferDetails
:token-id="tokenId"
:transaction="props.transaction"
:linkedAccounts="linkedAccounts"
/>
</template>
<template v-for="tokenId in props.transaction.nftTransfers.keys()" :key="tokenId">
<template v-for="tokenId in props.transaction.nftTransfers.keys()" :key="tokenId.toString()">
<NftTransferDetails
:token-id="tokenId"
:transaction="props.transaction"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const balanceExceeded = (transfer: Transfer): boolean => {
<template v-if="transferParsingComplete">
<div class="col-6">
<div class="mt-3">
<template v-for="debit in props.hbarTransfers" :key="debit.accountId">
<template v-for="debit in props.hbarTransfers" :key="debit.accountId.toString()">
<div v-if="debit.amount.isNegative()" class="mt-3">
<div class="row align-items-center px-3">
<div
Expand Down Expand Up @@ -136,7 +136,7 @@ const balanceExceeded = (transfer: Transfer): boolean => {
</div>
<div class="col-6">
<div class="mt-3">
<template v-for="credit in props.hbarTransfers" :key="credit.accountId">
<template v-for="credit in props.hbarTransfers" :key="credit.accountId.toString()">
<div v-if="!credit.amount.isNegative()" class="mt-3">
<div class="row align-items-center px-3">
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const findNickname = (accountId: AccountId) => {
<template>
<div class="col-6">
<div class="mt-3">
<template v-for="debit in tokenTransfers" :key="debit.accountId">
<template v-for="debit in tokenTransfers" :key="debit.accountId.toString()">
<div v-if="debit.amount.isNegative()" class="mt-3">
<div class="row align-items-center px-3">
<div
Expand Down Expand Up @@ -69,7 +69,7 @@ const findNickname = (accountId: AccountId) => {
</div>
<div class="col-6">
<div class="mt-3">
<template v-for="credit in tokenTransfers" :key="credit.accountId">
<template v-for="credit in tokenTransfers" :key="credit.accountId.toString()">
<div v-if="credit.amount.isPositive()" class="mt-3">
<div class="row align-items-center px-3">
<div
Expand Down
5 changes: 2 additions & 3 deletions front-end/src/renderer/components/ui/AppSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,14 @@ watch(
<span class="text-small">No options available</span>
</li>
</template>
<template v-for="item of items" :key="item.value">
<template v-for="item of items" :key="item.label">
<li
class="dropdown-item text-body"
:class="{
active: item.value === value,
active: item.value === model,
}"
@click="handleSelect(item.value)"
:data-testid="`select-item-${item.value}`"
:selected="item.value === value ? true : undefined"
>
<span class="text-small">{{ item.label }}</span>
</li>
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading