From 4804652c206cbf35ff6c32347ef894419aaaf109 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, 25 May 2023 17:42:26 +0300 Subject: [PATCH] Refactor #3965 - For Inplace --- components/lib/inplace/BaseInplace.vue | 3 +-- components/lib/inplace/Inplace.vue | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/lib/inplace/BaseInplace.vue b/components/lib/inplace/BaseInplace.vue index 207e5b049..e6bef028b 100644 --- a/components/lib/inplace/BaseInplace.vue +++ b/components/lib/inplace/BaseInplace.vue @@ -25,8 +25,7 @@ const styles = ` const classes = { root: ({ props }) => ['p-inplace p-component', { 'p-inplace-closable': props.closable }], display: ({ props }) => ['p-inplace-display', { 'p-disabled': props.disabled }], - content: 'p-inplace-content', - closeButton: ({ props }) => props.closeIcon + content: 'p-inplace-content' }; const { load: loadStyle } = useStyle(styles, { id: 'primevue_inplace_style', manual: true }); diff --git a/components/lib/inplace/Inplace.vue b/components/lib/inplace/Inplace.vue index c026e56f3..36f598aa3 100755 --- a/components/lib/inplace/Inplace.vue +++ b/components/lib/inplace/Inplace.vue @@ -8,7 +8,7 @@ @@ -17,10 +17,10 @@