Refactor #3965 - Update for BaseDirective

pull/4077/head
Tuğçe Küçükoğlu 2023-06-22 15:56:19 +03:00
parent 1f31d2ab2c
commit 22e6c7a53e
1 changed files with 1 additions and 1 deletions

View File

@ -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)}"]`);
}