Skip to content

Commit 9f5ecaa

Browse files
committed
fix(core): ssr-hint-has-default-slotted attr name
1 parent 98313ce commit 9f5ecaa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/pfe-core/controllers/slot-controller-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class SlotController implements SlotControllerPublicAPI {
1414

1515
static attribute = 'ssr-hint-has-slotted' as const;
1616

17-
static anonymousAttribute = 'ssr-hint-has-slotted-anonymous' as const;
17+
static anonymousAttribute = 'ssr-hint-has-default-slotted' as const;
1818

1919
constructor(public host: ReactiveElement, ..._: SlotControllerArgs) {
2020
host.addController(this);

elements/pf-card/test/pf-card.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test.describe(tagName, () => {
2929
browser,
3030
importSpecifiers: [`@patternfly/elements/${tagName}/${tagName}.js`],
3131
demoContent: /* html */ `
32-
<pf-card ssr-hint-has-slotted="header,default,footer">
32+
<pf-card ssr-hint-has-default-slotted ssr-hint-has-slotted="header,footer">
3333
<h2 slot="header">Header</h2>
3434
<span>Body</span>
3535
<span slot="footer">Footer</span>

0 commit comments

Comments
 (0)