mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
small form edits
This commit is contained in:
parent
7affba04f7
commit
494a063665
@ -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}
|
||||
|
||||
@ -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')),
|
||||
|
||||
@ -22,6 +22,7 @@ export const PopupTextAreaInput = ({
|
||||
dataField={dataField}
|
||||
placeholder={placeholder}
|
||||
inputStyle={style}
|
||||
required={false}
|
||||
></TextAreaInput>
|
||||
)
|
||||
}
|
||||
|
||||
1
lib/src/types/ItemType.d.ts
vendored
1
lib/src/types/ItemType.d.ts
vendored
@ -16,4 +16,5 @@ export interface ItemType {
|
||||
relations: boolean
|
||||
template: string
|
||||
questlog: boolean
|
||||
small_form_edit?: boolean
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user