mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix basemap tileSize condition (#7921)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -327,8 +327,8 @@ fields:
|
||||
options:
|
||||
placeholder: '512'
|
||||
conditions:
|
||||
name: typeNeqRaster
|
||||
rule:
|
||||
type:
|
||||
_neq: 'raster'
|
||||
hidden: true
|
||||
- name: typeNeqRaster
|
||||
rule:
|
||||
type:
|
||||
_neq: 'raster'
|
||||
hidden: true
|
||||
|
||||
@@ -317,6 +317,9 @@ export default defineComponent({
|
||||
try {
|
||||
controls.draw.deleteAll();
|
||||
const initialValue = parse(props);
|
||||
if (!initialValue) {
|
||||
return;
|
||||
}
|
||||
if (!props.disabled && !isTypeCompatible(geometryType, initialValue!.type)) {
|
||||
geometryParsingError.value = t('interfaces.map.unexpected_geometry', {
|
||||
expected: geometryType,
|
||||
|
||||
Reference in New Issue
Block a user