Skip to content

Commit

Permalink
fix: show accounting list name
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomu-y committed Aug 12, 2023
1 parent 6cd5287 commit 0e2421a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/pages/accountings/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<NuxtLink to="/accountings">集金記録</NuxtLink>
</li>
<li>
{{ accounting.name }}
{{ accounting.accountingList.name }}
</li>
</ul>
</div>

<div class="block bg-base-100 rounded-lg w-full h-full p-4 mt-2">
<div class="flex flex-col gap-2 py-2">
<div class="font-extrabold truncate text-center">
{{ accounting.name }}
{{ accounting.accountingList.name }}
</div>
<div class="font-extrabold text-xl text-center">
{{ accounting.priceFormatted }}
Expand Down Expand Up @@ -74,7 +74,6 @@ definePageMeta({
});
const route = useRoute();
const router = useRouter();
const { id } = route.params;
const { accounting, getAccounting } = useAccounting();
await getAccounting(id);
Expand Down

0 comments on commit 0e2421a

Please sign in to comment.