From 8c455523d64bc1bb481dd511b8bddd8d9d6953ff Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 26 Oct 2024 14:31:40 +0300 Subject: [PATCH] Fixed index name --- assets/data/news.json | 10 +++++----- layouts/AppTopBar.vue | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/assets/data/news.json b/assets/data/news.json index 89fa82e28..5239d8c46 100644 --- a/assets/data/news.json +++ b/assets/data/news.json @@ -1,9 +1,9 @@ { - "id": 58, - "content": "🎉 v4.0.0-rc.1 is out with the new Styled Mode", - "linkText": "Learn More", - "linkHref": "http://primevue.org", + "id": 60, + "content": "Diamond Template Remastered ⭐️", + "linkText": "Live Demo", + "linkHref": "http://diamond.primevue.org", "backgroundStyle": "background-color:var(--primary-color)", "textStyle": "color:var(--primary-color-text);font-weight:500", "linkStyle": "color:var(--primary-color-text);font-weight:700;text-decoration: underline;" -} +} \ No newline at end of file diff --git a/layouts/AppTopBar.vue b/layouts/AppTopBar.vue index 4ff8ee35a..c77f4b3ac 100755 --- a/layouts/AppTopBar.vue +++ b/layouts/AppTopBar.vue @@ -174,8 +174,9 @@ export default { docsearch({ container: '#docsearch', appId: 'MM3U70ASEF', - indexName: 'primevue', + indexName: 'v3-primevue', apiKey: 'ce80245d8fee32d846625372698914cf', + debug: false, transformItems: (items) => { const isLocalhost = process.env.NODE_ENV !== 'production';