From 9a7d4d9a620c7faee7a44160a3b701018726922d Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 8 Apr 2024 14:37:04 +0200 Subject: [PATCH] feat(app-sidebar): allow to define inline for secondary buttons Signed-off-by: Simon L --- src/components/NcAppSidebar/NcAppSidebar.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/NcAppSidebar/NcAppSidebar.vue b/src/components/NcAppSidebar/NcAppSidebar.vue index dd6c14bd36..0cf5d1219c 100644 --- a/src/components/NcAppSidebar/NcAppSidebar.vue +++ b/src/components/NcAppSidebar/NcAppSidebar.vue @@ -468,7 +468,8 @@ A working alternative would be using an icon together with an `aria-label`: + :force-menu="forceMenu" + :inline="secondaryInline"> @@ -652,6 +653,14 @@ export default { type: Boolean, default: false, }, + /** + * Display x items inline out of the dropdown menu + * Will be ignored if `forceMenu` is set + */ + secondaryInline: { + type: Number, + default: 0, + }, /** * Linkify the name */