diff --git a/frontend/src/components/Header.vue b/frontend/src/components/Header.vue index 591c305..945f903 100644 --- a/frontend/src/components/Header.vue +++ b/frontend/src/components/Header.vue @@ -11,6 +11,6 @@ diff --git a/frontend/src/components/forms/FormDialog.vue b/frontend/src/components/forms/FormDialog.vue index 306a179..c5e5897 100644 --- a/frontend/src/components/forms/FormDialog.vue +++ b/frontend/src/components/forms/FormDialog.vue @@ -5,7 +5,13 @@ - + {{ snackbar.text }} close diff --git a/frontend/src/components/forms/Login.vue b/frontend/src/components/forms/Login.vue index 9afabd2..d7b3222 100644 --- a/frontend/src/components/forms/Login.vue +++ b/frontend/src/components/forms/Login.vue @@ -44,7 +44,7 @@ export default { password: '', showPassword: false, - passwordRules: [v => !!v || 'Please enter password'], + passwordRules: [v => !!v || 'Please enter password'] }), methods: { @@ -60,7 +60,7 @@ export default { if (response.data.success) { let cookie_data = JSON.parse(response.data.message) Cookies.set('session', cookie_data.value, cookie_data.properties) - this.$refs.main.showSnackbar("Login successful!", 'success') + this.$refs.main.showSnackbar('Login successful!', 'success') this.$router.push('about') } else { this.$refs.main.showSnackbar(response.data.message, 'error') diff --git a/frontend/src/components/forms/Register.vue b/frontend/src/components/forms/Register.vue index 79a8e8a..7f7ea9c 100644 --- a/frontend/src/components/forms/Register.vue +++ b/frontend/src/components/forms/Register.vue @@ -77,7 +77,7 @@ export default { .then(response => { console.log('register', response.data) if (response.data.success) { - this.$refs.main.showSnackbar("Registration successful!", 'success') + this.$refs.main.showSnackbar('Registration successful!', 'success') } else { this.$refs.main.showSnackbar(response.data.message, 'error') }