Fix upper case typo for initialEditMode parameter

This commit is contained in:
Bubka 2022-09-17 19:34:19 +02:00
parent 55fb8d56e1
commit aae64e4f72
3 changed files with 5 additions and 5 deletions

View File

@ -253,7 +253,7 @@
* ~ 'appSettings.displayMode' change the account appearance * ~ 'appSettings.displayMode' change the account appearance
* *
* Input : * 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 : [], groups : [],
selectedAccounts: [], selectedAccounts: [],
search: '', search: '',
editMode: this.InitialEditMode, editMode: this.initialEditMode,
drag: false, drag: false,
showTwofaccountInModal : false, showTwofaccountInModal : false,
showGroupSwitch: false, showGroupSwitch: false,

View File

@ -241,7 +241,7 @@
await this.form.put('/api/v1/twofaccounts/' + this.$route.params.twofaccountId) await this.form.put('/api/v1/twofaccounts/' + this.$route.params.twofaccountId)
if( this.form.errors.any() === false ) { 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 // clean new temp icon
this.deleteIcon() this.deleteIcon()
this.$router.push({name: 'accounts', params: { InitialEditMode: true }}); this.$router.push({name: 'accounts', params: { initialEditMode: true }});
}, },
async uploadIcon(event) { async uploadIcon(event) {

View File

@ -8,7 +8,7 @@
</div> </div>
<div class="fullscreen-footer"> <div class="fullscreen-footer">
<!-- Close button --> <!-- Close button -->
<label class="button is-dark is-rounded" @click.stop="$router.push({name: 'accounts', params: { InitialEditMode: true }});"> <label class="button is-dark is-rounded" @click.stop="$router.push({name: 'accounts', params: {initialEditMode: true}});">
{{ $t('commons.close') }} {{ $t('commons.close') }}
</label> </label>
</div> </div>