From 47a1d6af299eeb3e345d81c6e30224bd9b446d70 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 17 Sep 2024 12:09:24 +0300 Subject: [PATCH] Update DocPTViewer.vue --- apps/showcase/components/doc/DocPTViewer.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue index 1152f45f0..7f5e69b39 100644 --- a/apps/showcase/components/doc/DocPTViewer.vue +++ b/apps/showcase/components/doc/DocPTViewer.vue @@ -32,6 +32,7 @@ export default { cmpName = componentName; if (componentName === 'ConfirmDialog') cmpName = 'Dialog'; + else if (componentName === 'ScrollTop') cmpName = 'Button'; if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`; else if (item.label.startsWith('pc')) selector = `[data-pc-name="${item.label.toLowerCase()}"]`;