From d03ca0ec362676f4f749ee73a62d082fef5b35b9 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 1 Oct 2020 17:02:15 +0200 Subject: [PATCH] Some bug fixes. --- app/Http/Controllers/Rule/EditController.php | 2 +- app/Support/Http/Controllers/RuleManagement.php | 2 +- frontend/src/components/accounts/List.vue | 12 ++++++------ frontend/src/components/dashboard/MainBillsList.vue | 6 +++--- frontend/src/components/dashboard/MainPiggyList.vue | 6 +++--- .../components/transactions/TransactionListLarge.vue | 10 +++++----- .../transactions/TransactionListMedium.vue | 6 +++--- .../components/transactions/TransactionListSmall.vue | 4 ++-- .../js/components/passport/AuthorizedClients.vue | 6 +++--- resources/assets/js/components/passport/Clients.vue | 10 +++++----- .../js/components/passport/PersonalAccessTokens.vue | 4 ++-- 11 files changed, 34 insertions(+), 34 deletions(-) diff --git a/app/Http/Controllers/Rule/EditController.php b/app/Http/Controllers/Rule/EditController.php index 55f6a561c6..0891804279 100644 --- a/app/Http/Controllers/Rule/EditController.php +++ b/app/Http/Controllers/Rule/EditController.php @@ -192,7 +192,7 @@ class EditController extends Controller [ 'oldTrigger' => OperatorQuerySearch::getRootOperator($operator['type']), 'oldValue' => $operator['value'], - 'oldChecked' => 1 === (int) ($oldTrigger['stop_processing'] ?? '0'), + 'oldChecked' => false, 'count' => $index + 1, 'triggers' => $triggers, ] diff --git a/app/Support/Http/Controllers/RuleManagement.php b/app/Support/Http/Controllers/RuleManagement.php index d4d98886bb..3045007815 100644 --- a/app/Support/Http/Controllers/RuleManagement.php +++ b/app/Support/Http/Controllers/RuleManagement.php @@ -62,7 +62,7 @@ trait RuleManagement [ 'oldTrigger' => OperatorQuerySearch::getRootOperator($operator['type']), 'oldValue' => $operator['value'], - 'oldChecked' => 1 === (int) ($oldTrigger['stop_processing'] ?? '0'), + 'oldChecked' => false, 'count' => $index + 1, 'triggers' => $triggers, ] diff --git a/frontend/src/components/accounts/List.vue b/frontend/src/components/accounts/List.vue index 1c3f9cccbb..778b453713 100644 --- a/frontend/src/components/accounts/List.vue +++ b/frontend/src/components/accounts/List.vue @@ -52,12 +52,12 @@ - - - - - - + + + + + + diff --git a/frontend/src/components/dashboard/MainBillsList.vue b/frontend/src/components/dashboard/MainBillsList.vue index ac4915a6d1..a704eb77a2 100644 --- a/frontend/src/components/dashboard/MainBillsList.vue +++ b/frontend/src/components/dashboard/MainBillsList.vue @@ -27,9 +27,9 @@
 {{ $t('list.name') }}{{ $t('list.role') }}{{ $t('list.iban') }}{{ $t('list.currentBalance') }}{{ $t('list.balanceDiff') }} {{ $t('list.name') }}{{ $t('list.role') }}{{ $t('list.iban') }}{{ $t('list.currentBalance') }}{{ $t('list.balanceDiff') }}
- - - + + + diff --git a/frontend/src/components/dashboard/MainPiggyList.vue b/frontend/src/components/dashboard/MainPiggyList.vue index d2c06eb337..d6bf6ea384 100644 --- a/frontend/src/components/dashboard/MainPiggyList.vue +++ b/frontend/src/components/dashboard/MainPiggyList.vue @@ -27,9 +27,9 @@
{{ $t('list.name') }}{{ $t('list.amount') }}{{ $t('list.next_expected_match') }}{{ $t('list.name') }}{{ $t('list.amount') }}{{ $t('list.next_expected_match') }}
- - - + + + diff --git a/frontend/src/components/transactions/TransactionListLarge.vue b/frontend/src/components/transactions/TransactionListLarge.vue index 6b50842984..e11fa90cb1 100644 --- a/frontend/src/components/transactions/TransactionListLarge.vue +++ b/frontend/src/components/transactions/TransactionListLarge.vue @@ -23,11 +23,11 @@ - - - - - + + + + + diff --git a/frontend/src/components/transactions/TransactionListMedium.vue b/frontend/src/components/transactions/TransactionListMedium.vue index 6cca8b10e7..7650a1a42b 100644 --- a/frontend/src/components/transactions/TransactionListMedium.vue +++ b/frontend/src/components/transactions/TransactionListMedium.vue @@ -23,9 +23,9 @@ - - - + + + diff --git a/frontend/src/components/transactions/TransactionListSmall.vue b/frontend/src/components/transactions/TransactionListSmall.vue index de6f563151..5e83619085 100644 --- a/frontend/src/components/transactions/TransactionListSmall.vue +++ b/frontend/src/components/transactions/TransactionListSmall.vue @@ -23,8 +23,8 @@ - - + + diff --git a/resources/assets/js/components/passport/AuthorizedClients.vue b/resources/assets/js/components/passport/AuthorizedClients.vue index b730f69b97..d19079b44a 100644 --- a/resources/assets/js/components/passport/AuthorizedClients.vue +++ b/resources/assets/js/components/passport/AuthorizedClients.vue @@ -39,9 +39,9 @@
{{ $t('list.piggy_bank') }}{{ $t('list.percentage') }}{{ $t('list.amount') }}{{ $t('list.piggy_bank') }}{{ $t('list.percentage') }}{{ $t('list.amount') }}
{{ $t('firefly.transaction_table_description') }}
{{ $t('firefly.description') }}{{ $t('firefly.opposing_account') }}{{ $t('firefly.amount') }}{{ $t('firefly.category') }}{{ $t('firefly.budget') }}{{ $t('firefly.description') }}{{ $t('firefly.opposing_account') }}{{ $t('firefly.amount') }}{{ $t('firefly.category') }}{{ $t('firefly.budget') }}
{{ $t('firefly.transaction_table_description') }}
{{ $t('firefly.description') }}{{ $t('firefly.opposing_account') }}{{ $t('firefly.amount') }}{{ $t('firefly.description') }}{{ $t('firefly.opposing_account') }}{{ $t('firefly.amount') }}
{{ $t('firefly.transaction_table_description') }}
{{ $t('firefly.description') }}{{ $t('firefly.amount') }}{{ $t('firefly.description') }}{{ $t('firefly.amount') }}
- - - + + + diff --git a/resources/assets/js/components/passport/Clients.vue b/resources/assets/js/components/passport/Clients.vue index 30b65a8a9d..0dc2c2866b 100644 --- a/resources/assets/js/components/passport/Clients.vue +++ b/resources/assets/js/components/passport/Clients.vue @@ -45,11 +45,11 @@ - - - - - + + + + + diff --git a/resources/assets/js/components/passport/PersonalAccessTokens.vue b/resources/assets/js/components/passport/PersonalAccessTokens.vue index ccfb358468..e222f56078 100644 --- a/resources/assets/js/components/passport/PersonalAccessTokens.vue +++ b/resources/assets/js/components/passport/PersonalAccessTokens.vue @@ -45,8 +45,8 @@
{{ $t('firefly.name') }}{{ $t('firefly.profile_scopes') }}{{ $t('firefly.name') }}{{ $t('firefly.profile_scopes') }}
{{ $t('firefly.profile_oauth_clients_header') }}
{{ $t('firefly.profile_oauth_client_id') }}{{ $t('firefly.name') }}{{ $t('firefly.profile_oauth_client_secret') }}{{ $t('firefly.profile_oauth_client_id') }}{{ $t('firefly.name') }}{{ $t('firefly.profile_oauth_client_secret') }}
- - + +
{{ $t('firefly.name') }}{{ $t('firefly.name') }}