mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
adding linted code to pull request.
This commit is contained in:
parent
d33b9861fa
commit
59df64027e
@ -32,15 +32,14 @@
|
|||||||
/>
|
/>
|
||||||
<a
|
<a
|
||||||
class="click-wrapper"
|
class="click-wrapper"
|
||||||
@mousedown="(event) => {
|
@mousedown="
|
||||||
showPassword = !showPassword;
|
(event) => {
|
||||||
event.preventDefault();
|
showPassword = !showPassword
|
||||||
}"
|
event.preventDefault()
|
||||||
|
}
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<base-icon
|
<base-icon class="toggle-icon" :name="showPassword ? 'eye-slash' : 'eye'" />
|
||||||
class="toggle-icon"
|
|
||||||
:name="showPassword ? 'eye-slash' : 'eye'"
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<nuxt-link to="/password-reset/request">
|
<nuxt-link to="/password-reset/request">
|
||||||
@ -68,7 +67,7 @@ import BaseIcon from '../_new/generic/BaseIcon/BaseIcon'
|
|||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
LocaleSwitch,
|
LocaleSwitch,
|
||||||
BaseIcon
|
BaseIcon,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -76,7 +75,7 @@ export default {
|
|||||||
email: '',
|
email: '',
|
||||||
password: '',
|
password: '',
|
||||||
},
|
},
|
||||||
showPassword: false
|
showPassword: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -154,7 +153,5 @@ export default {
|
|||||||
margin-right: -16px;
|
margin-right: -16px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user