fix: restore large project pins on the reference map
This commit is contained in:
@@ -148,7 +148,7 @@ export function InteractiveGermanyMap({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Minor Location Markers (The 100+ generic projects) */}
|
{/* Minor Location Markers (The 100+ generic projects) */}
|
||||||
{finalLocations.filter(l => l.type === 'minor_node' || l.type === 'project').map((loc, idx) => (
|
{finalLocations.filter(l => l.type === 'minor_node').map((loc, idx) => (
|
||||||
<div
|
<div
|
||||||
key={`minor-${idx}`}
|
key={`minor-${idx}`}
|
||||||
className="absolute z-10 group/minor cursor-pointer w-10 h-10 flex items-center justify-center"
|
className="absolute z-10 group/minor cursor-pointer w-10 h-10 flex items-center justify-center"
|
||||||
@@ -165,8 +165,8 @@ export function InteractiveGermanyMap({
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
{/* Major Location Markers (HQ, Branch) */}
|
{/* Major Location Markers (HQ, Branch, Project) */}
|
||||||
{finalLocations.filter(l => l.type === 'hq' || l.type === 'branch').map((loc, idx) => {
|
{finalLocations.filter(l => l.type !== 'minor_node').map((loc, idx) => {
|
||||||
const isHQ = loc.type === 'hq';
|
const isHQ = loc.type === 'hq';
|
||||||
const isBranch = loc.type === 'branch';
|
const isBranch = loc.type === 'branch';
|
||||||
const isActive = activeLocation?.id === loc.id;
|
const isActive = activeLocation?.id === loc.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user