badge directive hydration fix
parent
ef57cba0f5
commit
338d6609c5
|
@ -1,7 +1,7 @@
|
||||||
import { DomHandler, UniqueComponentId } from 'primevue/utils';
|
import { DomHandler, UniqueComponentId } from 'primevue/utils';
|
||||||
|
|
||||||
const BadgeDirective = {
|
const BadgeDirective = {
|
||||||
beforeMount(el, options) {
|
mounted(el, options) {
|
||||||
const id = UniqueComponentId() + '_badge';
|
const id = UniqueComponentId() + '_badge';
|
||||||
|
|
||||||
el.$_pbadgeId = id;
|
el.$_pbadgeId = id;
|
||||||
|
|
Loading…
Reference in New Issue