Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
This commit is contained in:
parent
82372fbbdb
commit
a1f7004776
|
|
@ -485,8 +485,9 @@ export const createLinearSlice: StateCreator<AppState, [], [], LinearSlice> = (s
|
|||
console.warn('[linear] listLinearTeams failed:', error)
|
||||
if (looksLikeAuthError(error)) {
|
||||
set({ linearStatus: { connected: false, viewer: null } })
|
||||
return []
|
||||
}
|
||||
return []
|
||||
return get().linearTeamCache[cacheKey]?.data ?? []
|
||||
})
|
||||
.finally(() => {
|
||||
inflightTeamRequests.delete(cacheKey)
|
||||
|
|
|
|||
Loading…
Reference in New Issue