Keep dashboard panel visible during city detail loading

This commit is contained in:
2569718930@qq.com
2026-04-08 12:55:12 +08:00
parent f0904dbcc5
commit 0af5a84449
2 changed files with 0 additions and 3 deletions
@@ -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 (