Open current folder in library / detail

This commit is contained in:
rijkvanzanten
2020-08-11 17:13:13 -04:00
parent 830b8a514b
commit 400c4291cd
12 changed files with 128 additions and 28 deletions

View File

@@ -126,7 +126,11 @@ export default defineComponent({
if (notEmpty(props.to)) return 'router-link';
return 'button';
});
const { active, toggle } = useGroupable(props.value, 'button-group');
const { active, toggle } = useGroupable({
value: props.value,
group: 'button-group',
});
return { sizeClass, onClick, component, active, toggle };