mirror of
https://github.com/directus/directus.git
synced 2026-01-29 00:27:59 -05:00
auto expand child selections on Show Selected (#10125)
This commit is contained in:
@@ -161,6 +161,10 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
const groupOpen = computed(() => {
|
||||
if (props.showSelectionOnly === true) {
|
||||
return visibleChildrenValues.value.length > 0;
|
||||
}
|
||||
|
||||
return typeof props.search === 'string' && props.search.length > 0;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user