Skip to content

Commit

Permalink
fix(): allow to set slots for template preview
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Nov 2, 2023
1 parent 2398c28 commit c2ec7fa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/brick-kit/src/core/Kernel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,14 @@ export class Kernel {
bricks: [
{
brick: templateId,
...pick(settings, "properties", "events", "lifeCycle", "context"),
...pick(
settings,
"properties",
"events",
"lifeCycle",
"context",
"slots"
),
},
],
menu: false,
Expand Down

0 comments on commit c2ec7fa

Please sign in to comment.