Skip to content

Commit

Permalink
chenged names for spinner and show password variables
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislawK committed Apr 3, 2019
1 parent a6b432a commit dfa365e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<script>
export default {
name: 'app',
components: {}
name: 'app'
}
</script>
10 changes: 5 additions & 5 deletions frontend/src/components/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<v-text-field
v-model="password"
label="Hasło"
:append-icon="show1 ? 'visibility_off' : 'visibility'"
:type="show1 ? 'text' : 'password'"
@click:append="show1 = !show1"
:append-icon="showPass ? 'visibility_off' : 'visibility'"
:type="showPass ? 'text' : 'password'"
@click:append="showPass = !showPass"
required
:error-messages="passwordErrors"
@input="$v.password.$touch()"
Expand All @@ -57,10 +57,10 @@ export default {
return {
username: '',
password: '',
show1: false,
showPass: false,
error_msg: '',
successAlert: false,
spinner: false
showSpinner: false
}
},
Expand Down

0 comments on commit dfa365e

Please sign in to comment.