manual lint --fix
This commit is contained in:
parent
d9aca590bb
commit
d1ea589531
76 changed files with 187 additions and 184 deletions
|
|
@ -427,7 +427,7 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
const cleanDirectives = Object.fromEntries(
|
||||
Object
|
||||
.entries(x.directives)
|
||||
.filter(([k, v]) => k)
|
||||
.filter(([k]) => k)
|
||||
)
|
||||
|
||||
return { name: x.variant, ...cleanDirectives }
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@ export const useListsStore = defineStore('lists', {
|
|||
allListsObject: {}
|
||||
}),
|
||||
getters: {
|
||||
findListTitle (state) {
|
||||
findListTitle () {
|
||||
return (id) => {
|
||||
if (!this.allListsObject[id]) return
|
||||
return this.allListsObject[id].title
|
||||
}
|
||||
},
|
||||
findListAccounts (state) {
|
||||
findListAccounts () {
|
||||
return (id) => [...this.allListsObject[id].accountIds]
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ export const usePollsStore = defineStore('polls', {
|
|||
this.trackedPolls[pollId] = 0
|
||||
}
|
||||
},
|
||||
votePoll ({ id, pollId, choices }) {
|
||||
votePoll ({ pollId, choices }) {
|
||||
return window.vuex.state.api.backendInteractor.vote({ pollId, choices }).then(poll => {
|
||||
this.mergeOrAddPoll(poll)
|
||||
return poll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue