cleanup
This commit is contained in:
parent
f7acfe3f59
commit
7b4eb25fc8
18 changed files with 24 additions and 25 deletions
|
|
@ -61,7 +61,7 @@ export const useChatsStore = defineStore('chats', {
|
|||
addNewChats(chats) {
|
||||
window.vuex.commit(
|
||||
'addNewUsers',
|
||||
chats.map((k) => k.account).filter((k) => k),
|
||||
chats.map((k) => k.account).filter(Boolean),
|
||||
)
|
||||
|
||||
chats.forEach((updatedChat) => {
|
||||
|
|
|
|||
|
|
@ -836,7 +836,7 @@ export const useSyncConfigStore = defineStore('sync_config', {
|
|||
: [path, finalValue]
|
||||
})
|
||||
newState.prefsStorage.simple = Object.fromEntries(
|
||||
newEntries.filter((_) => _),
|
||||
newEntries.filter(Boolean),
|
||||
)
|
||||
return newState
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue