From fe2b58bb23f69212ec7224c8fb3d4206b353d7df Mon Sep 17 00:00:00 2001 From: Kurtil Date: Wed, 5 Apr 2023 16:26:30 +0200 Subject: [PATCH 1/2] remove drop down menu contentAfterHeader slot --- .../BIMDataDropdownMenu.vue | 1 - .../Components/DropdownMenu/DropdownMenu.vue | 22 +------------------ 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue b/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue index 72b454cb..0e57f68b 100644 --- a/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue +++ b/src/BIMDataComponents/BIMDataDropdownMenu/BIMDataDropdownMenu.vue @@ -7,7 +7,6 @@ :style="style" > - diff --git a/src/web/views/Components/DropdownMenu/DropdownMenu.vue b/src/web/views/Components/DropdownMenu/DropdownMenu.vue index 75ae9e67..baf8790e 100644 --- a/src/web/views/Components/DropdownMenu/DropdownMenu.vue +++ b/src/web/views/Components/DropdownMenu/DropdownMenu.vue @@ -17,9 +17,6 @@ - @@ -102,7 +94,7 @@ :header="{{ getHeaderProp() }}" {{ getMenuItems() }} > - {{ getHeader() }} {{ getContentAfterBtn() }} {{ getElement() }} + {{ getHeader() }} {{ getElement() }} </BIMDataDropdownMenu> @@ -237,10 +229,6 @@ export default { slotData: [ ["Slot name", "Description"], ["header", "Use this slot for add content "], - [ - "contentAfterHeader", - "Use this slot for add content after the header slot", - ], [ "element", "Use this slot to custom dropdown menu element content. You can put a list like the example above, or any other element or component of your choice.", @@ -257,14 +245,6 @@ export default { `; } }, - getContentAfterBtn() { - if (this.checkboxAfterHeaderChecked) { - return ` - `; - } - }, getElement() { if (this.checkboxElementSlotChecked) { return `