Hide quickactions on mobile

This commit is contained in:
Johannes Zellner
2026-02-02 11:41:50 +01:00
parent 214b836d13
commit 33a1f135e0
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@ const props = defineProps({
});
const quickActions = computed(() => {
if (window.innerWidth <= 576) return [];
const visibleActions = props.actions.filter(a => !(typeof a.visible !== 'undefined' && !a.visible) && !a.separator);
if (visibleActions.length <= 2) return visibleActions;