mirror of
https://github.com/directus/directus.git
synced 2026-02-11 17:05:06 -05:00
Map layout and interface improvements (#8628)
* Map layout and interface improvements: * Disable drag to rotate * Add keyboard shortcut to delete items * Hide unselect button when selection is empty * Add display template setting * Fixed fitData button behaviour * Removed unused hoveredFeatureId * Added translations * Expose clearFilters to the layout.
This commit is contained in:
@@ -59,6 +59,10 @@ function createLayoutWrapper<Options, Query>(layout: LayoutConfig): Component {
|
||||
type: Function as PropType<() => Promise<void>>,
|
||||
default: null,
|
||||
},
|
||||
clearFilters: {
|
||||
type: Function as PropType<() => void>,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
emits: WRITABLE_PROPS.map((prop) => `update:${prop}` as const),
|
||||
setup(props, { emit }) {
|
||||
|
||||
Reference in New Issue
Block a user