Skip to content

Commit

Permalink
Some type-check and ESLint error fixing.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeNamedRobin committed Sep 27, 2023
1 parent 168b5ad commit b00300e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/components/BalanceComponent.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<template>
<CardComponent :header="$t('c_currentSaldo.saldo')" :action="showOption ? 'Increase Online' : ''" routerLink="balance">
<CardComponent
:header="$t('c_currentSaldo.saldo')"
:action="showOption ? 'Increase Online' : ''"
routerLink="balance"
>
<div class="body">
<h1>{{ displayBalance }}</h1>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/views/BalanceView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
<div class="page-title">{{ $t('c_currentSaldo.saldo') }}</div>
<TopupModal v-model:visible="visible" :amount="amountValue"/>
<div class="content-wrapper">
<CardComponent :action="$t('c_currentSaldo.startPayment')" :header="$t('c_currentSaldo.Increase Saldo')" class="increase-saldo-card" :func="showDialog">
<CardComponent
:action="$t('c_currentSaldo.startPayment')"
:header="$t('c_currentSaldo.Increase Saldo')"
class="increase-saldo-card"
:func="showDialog"
>
<p id="cash-notice">{{ $t('c_currentSaldo.cashtopup') }}</p>
<div id="balance-increase-form">
<p id="balance-increase-title">{{ $t('c_currentSaldo.increase') }}</p>
Expand Down
6 changes: 5 additions & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<div class="page-title">{{ $t('home.Overview') }}</div>
<div class="content-wrapper">
<BalanceComponent class="balance-component" :showOption="true"/>
<TransactionsTableComponent class="transactions-table" :header="$t('c_recentTransactionsTable.recent transactions')" :action="$t('c_recentTransactionsTable.all transactions')"/>
<TransactionsTableComponent
class="transactions-table"
:header="$t('c_recentTransactionsTable.recent transactions')"
:action="$t('c_recentTransactionsTable.all transactions')"
/>
</div>
</div>
</template>
Expand Down
10 changes: 8 additions & 2 deletions src/views/UserOverView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@
</template>
</Column>
</DataTable>
<Dialog v-model:visible="visible" modal :header="$t('c_userTable.Create User')" :style="{ width: '50vw' }" @after-hide="resetForm">
<Dialog
v-model:visible="visible"
modal
:header="$t('c_userTable.Create User')"
:style="{ width: '50vw' }"
@after-hide="resetForm"
>
<form @submit="handleCreateUser">
<div class="form-row">
<label for="first-name">{{ $t('c_userTable.firstName') }}</label>
Expand Down Expand Up @@ -114,7 +120,7 @@ import { useForm } from "vee-validate";
const userStore = useUserStore();
const { defineComponentBinds, handleSubmit, errors, setValues, resetForm } = useForm({
const { defineComponentBinds, handleSubmit, errors, resetForm } = useForm({
validationSchema: userDetailsSchema,
});
Expand Down

0 comments on commit b00300e

Please sign in to comment.