Fix current password id being available twice
This commit is contained in:
parent
c9e0c9b6cf
commit
2d4ea80c90
2 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ export default {
|
|||
listRoutePrefix() {
|
||||
let name = 'list'
|
||||
|
||||
if (this.$route.name.startsWith('list.')) {
|
||||
if (this.$route.name !== null && this.$route.name.startsWith('list.')) {
|
||||
name = this.$route.name
|
||||
}
|
||||
|
||||
|
|
|
@ -67,12 +67,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label" for="currentPassword">Current Password</label>
|
||||
<label class="label" for="currentPasswordEmail">Current Password</label>
|
||||
<div class="control">
|
||||
<input
|
||||
@keyup.enter="updateEmail"
|
||||
class="input"
|
||||
id="currentPassword"
|
||||
id="currentPasswordEmail"
|
||||
placeholder="Your current password"
|
||||
type="password"
|
||||
v-model="emailUpdate.password"/>
|
||||
|
|
Loading…
Reference in a new issue