mirror of
https://github.com/directus/directus.git
synced 2026-01-26 16:48:21 -05:00
Allow detail route override on modal browse
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
:filters="filters"
|
||||
:view-query.sync="query"
|
||||
:view-options.sync="options"
|
||||
:detail-route="detailRoute"
|
||||
@update:selection="onSelect"
|
||||
select-mode
|
||||
/>
|
||||
@@ -45,6 +46,10 @@ export default defineComponent({
|
||||
type: Array as PropType<Filter[]>,
|
||||
default: () => [],
|
||||
},
|
||||
detailRoute: {
|
||||
type: String,
|
||||
default: undefined,
|
||||
},
|
||||
},
|
||||
setup(props, { emit }) {
|
||||
const { save, cancel } = useActions();
|
||||
|
||||
Reference in New Issue
Block a user