diff options
Diffstat (limited to 'app/assets/javascripts/issuable_show/components')
-rw-r--r-- | app/assets/javascripts/issuable_show/components/issuable_show_root.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/issuable_show/components/issuable_show_root.vue b/app/assets/javascripts/issuable_show/components/issuable_show_root.vue index ca057094868..011db52cbe3 100644 --- a/app/assets/javascripts/issuable_show/components/issuable_show_root.vue +++ b/app/assets/javascripts/issuable_show/components/issuable_show_root.vue @@ -153,9 +153,9 @@ export default { </template> </issuable-discussion> - <issuable-sidebar @sidebar-toggle="$emit('sidebar-toggle', $event)"> - <template #right-sidebar-items="sidebarProps"> - <slot name="right-sidebar-items" v-bind="sidebarProps"></slot> + <issuable-sidebar> + <template #right-sidebar-items="{ sidebarExpanded, toggleSidebar }"> + <slot name="right-sidebar-items" v-bind="{ sidebarExpanded, toggleSidebar }"></slot> </template> </issuable-sidebar> </div> |