small form edits

This commit is contained in:
Anton Tranelis 2025-08-24 11:03:16 +02:00
parent 7affba04f7
commit 494a063665
4 changed files with 4 additions and 2 deletions

View File

@ -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}

View File

@ -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')),

View File

@ -22,6 +22,7 @@ export const PopupTextAreaInput = ({
dataField={dataField}
placeholder={placeholder}
inputStyle={style}
required={false}
></TextAreaInput>
)
}

View File

@ -16,4 +16,5 @@ export interface ItemType {
relations: boolean
template: string
questlog: boolean
small_form_edit?: boolean
}