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() {
|
listRoutePrefix() {
|
||||||
let name = 'list'
|
let name = 'list'
|
||||||
|
|
||||||
if (this.$route.name.startsWith('list.')) {
|
if (this.$route.name !== null && this.$route.name.startsWith('list.')) {
|
||||||
name = this.$route.name
|
name = this.$route.name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,12 +67,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" for="currentPassword">Current Password</label>
|
<label class="label" for="currentPasswordEmail">Current Password</label>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<input
|
<input
|
||||||
@keyup.enter="updateEmail"
|
@keyup.enter="updateEmail"
|
||||||
class="input"
|
class="input"
|
||||||
id="currentPassword"
|
id="currentPasswordEmail"
|
||||||
placeholder="Your current password"
|
placeholder="Your current password"
|
||||||
type="password"
|
type="password"
|
||||||
v-model="emailUpdate.password"/>
|
v-model="emailUpdate.password"/>
|
||||||
|
|
Loading…
Reference in a new issue