Merge branch 'cleanups' into 'develop'

Cleanups

See merge request !54
This commit is contained in:
lambadalambda 2017-03-09 03:02:55 -05:00
commit e808df0285
2 changed files with 8 additions and 1 deletions

View File

@ -28,10 +28,17 @@ before_script:
# - node_modules/
stages:
- lint
- build
- test
- deploy
lint:
stage: lint
script:
- yarn
- npm run lint
test:
stage: test
script:

View File

@ -9,7 +9,7 @@ const LoginForm = {
methods: {
submit () {
this.$store.dispatch('loginUser', this.user).then(
() => { this.$router.push('/main/friends')},
() => {},
(error) => {
this.authError = error
this.user.username = ''