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
*
* 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,

View File

@ -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) {

View File

@ -8,7 +8,7 @@
</div>
<div class="fullscreen-footer">
<!-- 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') }}
</label>
</div>