Skip to content

Commit

Permalink
Refactor #3965 - Update for BaseDirective
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jun 22, 2023
1 parent 1f31d2a commit 22e6c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/basedirective/BaseDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const BaseDirective = {
Object.entries(option).forEach(([key, value]) => {
let styledElement;

if (key === 'root' && directiveName !== 'ripple' && directiveName !== 'badge') styledElement = el;
if (key === 'root' && directiveName !== 'badge') styledElement = el;
else {
styledElement = DomHandler.findSingle(el, `[data-pc-section="${ObjectUtils.convertToFlatCase(key)}"]`);
}
Expand Down

0 comments on commit 22e6c7a

Please sign in to comment.