This commit is contained in:
Jan Bader 2022-04-23 11:12:35 +00:00 committed by Gitea
parent 4fa227c452
commit c30b33a070
5 changed files with 7 additions and 5 deletions

View File

@ -9,6 +9,8 @@ module.exports = {
// override/add rules settings here, such as: // override/add rules settings here, such as:
'vue/max-attributes-per-line': 'off', 'vue/max-attributes-per-line': 'off',
'vue/singleline-html-element-content-newline': 'off', 'vue/singleline-html-element-content-newline': 'off',
'vue/first-attribute-linebreak': 'off',
'vue/html-closing-bracket-newline': 'off',
// 'vue/no-unused-vars': 'error' // 'vue/no-unused-vars': 'error'
}, },
parser: "vue-eslint-parser", parser: "vue-eslint-parser",

View File

@ -42,7 +42,7 @@ function getStatusSymbol() {
<td class="hidden md:block"> <td class="hidden md:block">
{{ formatDate(TX.Date) }} {{ formatDate(TX.Date) }}
</td> </td>
<td class="pl-2 md:pl-0" v-if="withAccount"> <td v-if="withAccount" class="pl-2 md:pl-0">
{{ TX.Account }} {{ TX.Account }}
</td> </td>
<td class="pl-2 md:pl-0"> <td class="pl-2 md:pl-0">
@ -75,7 +75,7 @@ function getStatusSymbol() {
<TransactionEditRow <TransactionEditRow
v-if="edit" v-if="edit"
:transactionid="TX.ID" :transactionid="TX.ID"
:withAccount="withAccount" :with-account="withAccount"
@save="edit = false" @save="edit = false"
/> />
</template> </template>

View File

@ -131,7 +131,7 @@ function createReconcilationTransaction() {
:budgetid="budgetid" :budgetid="budgetid"
:accountid="accountid" :accountid="accountid"
/> />
<template v-for="(dayTransactions, key, index) in transactions.TransactionsByDate"> <template v-for="(dayTransactions, key, index) in transactions.TransactionsByDate" :key="key">
<tr class="table-row md:hidden"> <tr class="table-row md:hidden">
<td class="py-2" colspan="5"> <td class="py-2" colspan="5">
<span class="bg-gray-400 dark:bg-slate-600 rounded-lg p-1 px-2 w-full block"> <span class="bg-gray-400 dark:bg-slate-600 rounded-lg p-1 px-2 w-full block">

View File

@ -50,8 +50,8 @@ onMounted(() => {
</tr> </tr>
<TransactionRow <TransactionRow
v-for="(transaction, index) in transactions.ProblematicTransactionsList" v-for="(transaction, index) in transactions.ProblematicTransactionsList"
:withAccount="true"
:key="transaction.ID" :key="transaction.ID"
:with-account="true"
:transactionid="transaction.ID" :transactionid="transaction.ID"
:index="index" :index="index"
/> />

View File

@ -27,7 +27,7 @@ function toggleMenu() {
<template> <template>
<div :class="[ExpandMenu ? 'md:w-72' : 'md:w-36', ShowMenu ? '' : 'hidden']" <div :class="[ExpandMenu ? 'md:w-72' : 'md:w-36', ShowMenu ? '' : 'hidden']"
class="md:block flex-shrink-0 w-full bg-gray-500 border-r-4 border-black"> class="md:block flex-shrink-0 w-full bg-gray-500 border-r-4 border-black">
<div class="flex flex-col"> <div class="flex flex-col">
<div class="m-2 md:px-3 p-1"> <div class="m-2 md:px-3 p-1">
<span class="font-bold-my-3 md:hidden font-bold text-5xl pr-3" @click="toggleMenu"></span> <span class="font-bold-my-3 md:hidden font-bold text-5xl pr-3" @click="toggleMenu"></span>