Keep dashboard panel visible during city detail loading
This commit is contained in:
@@ -152,8 +152,6 @@ export function DetailPanel() {
|
||||
const isVisible =
|
||||
store.isPanelOpen &&
|
||||
Boolean(store.selectedCity) &&
|
||||
Boolean(detail) &&
|
||||
!store.loadingState.cityDetail &&
|
||||
!isOverlayOpen;
|
||||
const panelDisplayName =
|
||||
detail?.display_name ||
|
||||
|
||||
@@ -77,7 +77,6 @@ function DashboardScreen() {
|
||||
// Avoid full-page flashing on initial load; only show this overlay for manual refresh.
|
||||
const showLoading =
|
||||
store.loadingState.cities ||
|
||||
store.loadingState.cityDetail ||
|
||||
store.loadingState.refresh;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user