Skip to content

Commit

Permalink
Lint fix files
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Oct 10, 2024
1 parent 66fca92 commit 327730c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion vue/components/ConceptDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default {
display: {
type: Object,
default() {
return {}
return {}
},
},
},
Expand Down
14 changes: 7 additions & 7 deletions vue/components/UserStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,25 @@ export default {
created () {
const { connect, disconnect, login, logout, update, token, about, error } = LoginClient.events
this.client.addEventListener(about, ({ publicKey }) => {
this.auth.publicKey = publicKey; this._updateAuth()
this.auth.publicKey = publicKey; this._updateAuth()
})
this.client.addEventListener(connect, () => {
this.connected = true
this.connected = true
})
this.client.addEventListener(disconnect, () => {
this.connected = false
this.connected = false
})
this.client.addEventListener(login, ({ user }) => {
this._setUser(user)
this._setUser(user)
})
this.client.addEventListener(update, ({ user }) => {
this._updadeUser(user)
this._updadeUser(user)
})
this.client.addEventListener(logout, () => {
this._setUser(null)
this._setUser(null)
})
this.client.addEventListener(token, ({ token }) => {
this.auth.token = token; this._updateAuth()
this.auth.token = token; this._updateAuth()
})
this.client.addEventListener(error, (e) => {
if (e.error instanceof LoginClient.errors.ThirdPartyCookiesBlockedError) {
Expand Down

0 comments on commit 327730c

Please sign in to comment.