From 338d6609c5f8005b3c397f820249e65856c3f956 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: Wed, 21 Dec 2022 16:11:13 +0300 Subject: [PATCH] badge directive hydration fix --- components/badgedirective/BadgeDirective.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/badgedirective/BadgeDirective.js b/components/badgedirective/BadgeDirective.js index 07267f3f8..498802d0c 100644 --- a/components/badgedirective/BadgeDirective.js +++ b/components/badgedirective/BadgeDirective.js @@ -1,7 +1,7 @@ import { DomHandler, UniqueComponentId } from 'primevue/utils'; const BadgeDirective = { - beforeMount(el, options) { + mounted(el, options) { const id = UniqueComponentId() + '_badge'; el.$_pbadgeId = id;