commit16
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { Link, router } from '@inertiajs/react';
|
||||
import { useState } from 'react';
|
||||
import TerritoryGeometryPreview from '@/components/territory-geometry-preview';
|
||||
import InteractiveInvestmentMap, {
|
||||
type InvestmentMapFeature,
|
||||
} from '@/components/interactive-investment-map';
|
||||
import TerritorialMap from '@/components/catalogue-investment-map';
|
||||
import type { InvestmentMapFeature } from '@/components/interactive-investment-map';
|
||||
import {
|
||||
Frame,
|
||||
Field,
|
||||
@@ -159,8 +157,9 @@ export default function Catalogue(
|
||||
vários locais dos membros; estes pontos não confirmam a
|
||||
implantação da parceria.
|
||||
</p>
|
||||
<InteractiveInvestmentMap points={p.mapPoints} />
|
||||
<TerritoryGeometryPreview
|
||||
<TerritorialMap
|
||||
points={p.mapPoints}
|
||||
mapKind="documented_locations"
|
||||
territoryId={p.filters.territory_id}
|
||||
/>
|
||||
{!p.mapPoints.length && (
|
||||
|
||||
@@ -78,7 +78,7 @@ function Editor(p: Props) {
|
||||
/>
|
||||
</Field>
|
||||
<div className="grid gap-5 md:grid-cols-2">
|
||||
<Field label="Participação">
|
||||
<Field label="Organização que representa (opcional)">
|
||||
<select
|
||||
className={control}
|
||||
value={form.data.organization_id}
|
||||
|
||||
Reference in New Issue
Block a user