From aae64e4f722c62bd87bc20c1c29b8929806c5aae Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Sat, 17 Sep 2022 19:34:19 +0200 Subject: [PATCH] Fix upper case typo for initialEditMode parameter --- resources/js/views/Accounts.vue | 4 ++-- resources/js/views/twofaccounts/Edit.vue | 4 ++-- resources/js/views/twofaccounts/QRcode.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/js/views/Accounts.vue b/resources/js/views/Accounts.vue index 560eb902..ef84e584 100644 --- a/resources/js/views/Accounts.vue +++ b/resources/js/views/Accounts.vue @@ -253,7 +253,7 @@ * ~ 'appSettings.displayMode' change the account appearance * * Input : - * - The 'InitialEditMode' props : allows to load the view directly in Edit mode + * - The 'initialEditMode' props : allows to load the view directly in Edit mode * */ @@ -270,7 +270,7 @@ groups : [], selectedAccounts: [], search: '', - editMode: this.InitialEditMode, + editMode: this.initialEditMode, drag: false, showTwofaccountInModal : false, showGroupSwitch: false, diff --git a/resources/js/views/twofaccounts/Edit.vue b/resources/js/views/twofaccounts/Edit.vue index ed0f451e..f283f805 100644 --- a/resources/js/views/twofaccounts/Edit.vue +++ b/resources/js/views/twofaccounts/Edit.vue @@ -241,7 +241,7 @@ await this.form.put('/api/v1/twofaccounts/' + this.$route.params.twofaccountId) if( this.form.errors.any() === false ) { - this.$router.push({name: 'accounts', params: { InitialEditMode: true, toRefresh: true }}) + this.$router.push({name: 'accounts', params: { initialEditMode: true, toRefresh: true }}) } }, @@ -254,7 +254,7 @@ // clean new temp icon this.deleteIcon() - this.$router.push({name: 'accounts', params: { InitialEditMode: true }}); + this.$router.push({name: 'accounts', params: { initialEditMode: true }}); }, async uploadIcon(event) { diff --git a/resources/js/views/twofaccounts/QRcode.vue b/resources/js/views/twofaccounts/QRcode.vue index 8df83e2b..aafd6daa 100644 --- a/resources/js/views/twofaccounts/QRcode.vue +++ b/resources/js/views/twofaccounts/QRcode.vue @@ -8,7 +8,7 @@