mirror of
https://github.com/directus/directus.git
synced 2026-01-30 23:08:15 -05:00
Add scope prop to v-list-item
This commit is contained in:
@@ -82,6 +82,10 @@ export default defineComponent({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
scope: {
|
||||
type: String,
|
||||
default: 'v-list',
|
||||
},
|
||||
},
|
||||
emits: ['click'],
|
||||
setup(props, { emit }) {
|
||||
@@ -97,6 +101,7 @@ export default defineComponent({
|
||||
|
||||
useGroupable({
|
||||
value: props.value,
|
||||
group: props.scope,
|
||||
});
|
||||
|
||||
const isLink = computed(() => Boolean(props.to || props.href || props.clickable));
|
||||
|
||||
Reference in New Issue
Block a user