Skip to content

Commit

Permalink
fix: Fix ESlint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanni8 committed Dec 16, 2024
1 parent 0a3e24e commit da84a38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2 class="text-3xl text-white italic mb-4">Total amount: {{ totalAmount }}</h2>
<h3 class="text-2xl text-white italic">Transaktonen</h3>
<div class="h-3/4 py-12 w-1/2">
<div v-for="transaction in transactions" class="p-4 flex justify-between w-full">
<div v-for="transaction in transactions" class="p-4 flex justify-between w-full" v-bind:key="transaction.id">
<span class="text-white">{{ transaction.title }}</span>
<span class="text-white">{{ transaction.positiv ? "+" : "-" }}{{ transaction.amount }}</span>
</div>
Expand All @@ -16,10 +16,10 @@
</template>
<script lang="ts">
import type { Transaction } from '@/models/transaction';
import { getTransactions, saveTransaction } from '@/service/data';
import { getTransactions } from '@/service/data';
export default {
name: "Dashboard",
name: "InsimodusDashboard",
data(){
return {
transactions: [] as Transaction[]
Expand Down

0 comments on commit da84a38

Please sign in to comment.