diff --git a/app/src/pages/MapContainer.tsx b/app/src/pages/MapContainer.tsx index 9818286e..bb819103 100644 --- a/app/src/pages/MapContainer.tsx +++ b/app/src/pages/MapContainer.tsx @@ -106,7 +106,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) { layer.markerDefaultColor2 ? layer.markerDefaultColor2 : 'RGBA(35, 31, 32, 0.2)' } itemType={layer.itemType} - customEditLink='/edit-item' + customEditLink={layer.itemType.small_form_edit ? undefined : '/edit-item'} customEditParameter='id' public_edit_items={layer.public_edit_items} listed={layer.listed} diff --git a/app/vite.config.ts b/app/vite.config.ts index 2be6ed48..a5dec8e8 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -11,7 +11,7 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname) export default defineConfig({ server: { host: true, - port: 5174, + port: 5175, /** * https: { * key: fs.readFileSync(path.resolve(__dirname, 'localhost-key.pem')), diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.tsx index e56153f6..49447c18 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.tsx @@ -22,6 +22,7 @@ export const PopupTextAreaInput = ({ dataField={dataField} placeholder={placeholder} inputStyle={style} + required={false} > ) } diff --git a/lib/src/types/ItemType.d.ts b/lib/src/types/ItemType.d.ts index df56aff7..b7801ef7 100644 --- a/lib/src/types/ItemType.d.ts +++ b/lib/src/types/ItemType.d.ts @@ -16,4 +16,5 @@ export interface ItemType { relations: boolean template: string questlog: boolean + small_form_edit?: boolean }