lint
This commit is contained in:
parent
5ea3d462b9
commit
95bbe73832
19 changed files with 38 additions and 58 deletions
|
|
@ -69,8 +69,7 @@ export const useChatsStore = defineStore('chats', {
|
|||
|
||||
if (chat) {
|
||||
const isNewMessage =
|
||||
(chat.lastMessage?.id) !==
|
||||
(updatedChat.lastMessage?.id)
|
||||
chat.lastMessage?.id !== updatedChat.lastMessage?.id
|
||||
chat.lastMessage = updatedChat.lastMessage
|
||||
chat.unread = updatedChat.unread
|
||||
chat.updated_at = updatedChat.updated_at
|
||||
|
|
|
|||
|
|
@ -577,7 +577,8 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
return { name: x.variant, ...cleanDirectives }
|
||||
})
|
||||
.forEach((palette) => {
|
||||
const key = 'style.' + palette.name.toLowerCase().replaceAll(' ', '_')
|
||||
const key =
|
||||
'style.' + palette.name.toLowerCase().replaceAll(' ', '_')
|
||||
if (!firstStylePaletteName) firstStylePaletteName = key
|
||||
palettesIndex[key] = () => Promise.resolve(palette)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -195,9 +195,10 @@ export const _getRecentData = (cache, live, isTest) => {
|
|||
}
|
||||
|
||||
export const _getAllFlags = (recent, stale) => {
|
||||
const recentStorage = toRaw(recent?.flagStorage)
|
||||
const staleStorage = toRaw(stale?.flagStorage)
|
||||
|
||||
return Array.from(
|
||||
recentStorage = toRaw(recent?.flagStorage)
|
||||
staleStorage = toRaw(stale?.flagStorage)
|
||||
new Set([
|
||||
...Object.keys(recentStorage || {}),
|
||||
...Object.keys(staleStorage || {}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue