Skip to content

Commit 76bbb55

Browse files
committed
PrivilegedAction: Update root elements to accept additional attributes
1 parent b789ca1 commit 76bbb55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/components/privileged-action.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{{#if this.isPrivileged}}
2-
<div>
2+
<div ...attributes>
33
{{yield}}
44
</div>
55
{{else if this.canBePrivileged}}
66
{{#if (has-block 'placeholder')}}
7-
<div>
7+
<div ...attributes>
88
{{yield to='placeholder'}}
99
</div>
1010
{{else}}
11-
<div local-class='placeholder'>
11+
<div local-class='placeholder' ...attributes>
1212
<fieldset data-test-placeholder-fieldset disabled="disabled">
1313
{{yield}}
1414
</fieldset>
@@ -18,7 +18,7 @@
1818
</div>
1919
{{/if}}
2020
{{else}}
21-
<div>
21+
<div ...attributes>
2222
{{#if (has-block 'unprivileged')}}
2323
{{yield to='unprivileged'}}
2424
{{/if}}

0 commit comments

Comments
 (0)