Skip to content

Commit

Permalink
Merge pull request #883 from hit-pay/new-sidebar-ui
Browse files Browse the repository at this point in the history
fix: fixed sidebar-slots
  • Loading branch information
mykhailo-diakovych authored Jan 7, 2025
2 parents 2ea32ae + 20963e2 commit 2b8e24c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@orchidui/core",
"description": "Orchid UI, Library Vue 3 tailwind css",
"version": "1.1.31-16",
"version": "1.1.31-17",
"type": "module",
"scripts": {
"build": "vite build"
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/Elements/Sidebar/OcSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ onMounted(() => {
@support-click="$emit('support-click')"
>
<slot name="banner" />
<template v-if="$slots.userMenu" #user-menu="{ toggle }">
<slot name="user-menu" :toggle="toggle" />
</template>
</SidebarFooter>
</div>
</template>
2 changes: 1 addition & 1 deletion packages/dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@orchidui/dashboard",
"description": "Orchid Dashboard UI , Dashboard Ui Library Vue 3 tailwind css",
"version": "1.1.31-17",
"version": "1.1.31-18",
"type": "module",
"scripts": {
"build": "vite build"
Expand Down

0 comments on commit 2b8e24c

Please sign in to comment.