Fix missing actions in directs header (#6771)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-10-01 15:00:54 +04:00 committed by GitHub
parent 316d41da60
commit 7442984835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@
{allowFullsize}
type={allowClose ? 'type-aside' : 'type-component'}
hideBefore={false}
hideActions={!((canOpen && object) || withAside || $$slots.actions) || hideActions}
hideActions={!((canOpen && object) || withAside || $$slots.actions || canOpenInSidebar) || hideActions}
hideDescription={!description}
adaptive={adaptive !== 'default' ? adaptive : withFilters ? 'freezeActions' : 'disabled'}
{closeOnEscape}
@ -177,14 +177,3 @@
{/if}
</svelte:fragment>
</Header>
<style lang="scss">
.title {
cursor: pointer;
color: var(--global-secondary-TextColor);
&:hover {
color: var(--global-primary-LinkColor);
}
}
</style>