修复地图点击城市跳转决策卡:Pro 用户自动切换到分析视图
This commit is contained in:
@@ -331,8 +331,12 @@ function ScanTerminalScreen() {
|
|||||||
void store.ensureCityDetail(cityName, false, "panel").catch(() => {});
|
void store.ensureCityDetail(cityName, false, "panel").catch(() => {});
|
||||||
setSelectedRowId(null);
|
setSelectedRowId(null);
|
||||||
}
|
}
|
||||||
|
if (isPro) {
|
||||||
|
addAiPinnedCity(cityName);
|
||||||
|
setActiveView("analysis");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[store, timeSortedRows],
|
[store, timeSortedRows, isPro, addAiPinnedCity],
|
||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user