Skip to content

Commit c830936

Browse files
committed
refactor: restore previous implementation
1 parent ec6fc8f commit c830936

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vue/src/components/Topbar.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ export default {
167167
signIn() {
168168
this.error = ''
169169
170-
const fieldsMissing = this.email || !this.password
171-
if (fieldsMissing) {
170+
if (!this.email || !this.password) {
172171
this.error = 'Please fill in all fields.'
173172
return
174173
}

0 commit comments

Comments
 (0)