mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - Update for BaseDirective
This commit is contained in:
parent
1f31d2ab2c
commit
22e6c7a53e
1 changed files with 1 additions and 1 deletions
|
@ -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)}"]`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue