diff --git a/components/header-search-button.tsx b/components/header-search-button.tsx index 7090a52c..031e81c8 100644 --- a/components/header-search-button.tsx +++ b/components/header-search-button.tsx @@ -171,7 +171,7 @@ export function HeaderSearchButton() { variant="ghost" size="icon" onClick={handleResolutionSearch} - disabled={isAnalyzing || !map || !actions} + disabled={isAnalyzing || (mapProvider === "mapbox" && !map) || !actions} title="Analyze current map view" > {isAnalyzing ? ( @@ -183,7 +183,7 @@ export function HeaderSearchButton() { ) const mobileButton = ( -