From 22e6c7a53eea6ec37d7da4344f3f22058656ab3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 22 Jun 2023 15:56:19 +0300 Subject: [PATCH] Refactor #3965 - Update for BaseDirective --- components/lib/basedirective/BaseDirective.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/basedirective/BaseDirective.js b/components/lib/basedirective/BaseDirective.js index c01c9501c..129010a80 100644 --- a/components/lib/basedirective/BaseDirective.js +++ b/components/lib/basedirective/BaseDirective.js @@ -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)}"]`); }