fix(ui): stabilize workplace chat scrolling
This commit is contained in:
@@ -260,6 +260,8 @@ function sessionReducer(state: Session[], action: SessionAction): Session[] {
|
||||
detailLoaded: existing.detailLoaded ?? incoming.detailLoaded,
|
||||
fullLoaded: existing.fullLoaded ?? incoming.fullLoaded,
|
||||
hasMore: incoming.hasMore ?? existing.hasMore,
|
||||
summaryHasMore: incoming.summaryHasMore ?? existing.summaryHasMore,
|
||||
fullHasMore: incoming.fullHasMore ?? existing.fullHasMore,
|
||||
detailLoading: incoming.detailLoading ?? existing.detailLoading,
|
||||
detailError: incoming.detailError ?? existing.detailError,
|
||||
viewGeneration: incoming.viewGeneration ?? existing.viewGeneration,
|
||||
@@ -314,6 +316,8 @@ function sessionReducer(state: Session[], action: SessionAction): Session[] {
|
||||
detailLoaded: nextSession.detailLoaded ?? s.detailLoaded,
|
||||
fullLoaded: nextSession.fullLoaded ?? s.fullLoaded,
|
||||
hasMore: nextSession.hasMore ?? s.hasMore,
|
||||
summaryHasMore: nextSession.summaryHasMore ?? s.summaryHasMore,
|
||||
fullHasMore: nextSession.fullHasMore ?? s.fullHasMore,
|
||||
detailLoading: nextSession.detailLoading ?? s.detailLoading,
|
||||
detailError: nextSession.detailError ?? s.detailError,
|
||||
viewGeneration: nextSession.viewGeneration ?? s.viewGeneration,
|
||||
|
||||
Reference in New Issue
Block a user