Skip to content

Commit f93d463

Browse files
committed
fix: show collapse button in AssetBrowserModal right panel header
1 parent 441320d commit f93d463

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/components/widget/layout/BaseModalLayout.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@
8080
<slot name="rightPanelHeaderTitle" />
8181
</div>
8282
<slot name="rightPanelHeaderActions" />
83-
<Button
84-
v-if="showRightPanelButton"
85-
size="icon"
86-
@click="toggleRightPanel"
87-
>
83+
<Button size="icon" @click="toggleRightPanel">
8884
<i class="icon-[lucide--panel-right-close] text-sm" />
8985
</Button>
9086
<Button size="icon" @click="closeDialog">

src/platform/assets/components/AssetBrowserModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<BaseModalLayout
3-
:hide-right-panel-button="!!focusedAsset"
3+
:hide-right-panel-button="true"
44
:right-panel-open="!!focusedAsset"
55
data-component-id="AssetBrowserModal"
66
class="size-full max-h-full max-w-full min-w-0"

0 commit comments

Comments
 (0)