Website: fix search on announcements category page (#32380)

Closes: [#32378](https://github.com/fleetdm/fleet/issues/32378)

Changes:
- Fixed the broken search widget on the /announcements page
This commit is contained in:
Eric 2025-08-27 16:05:34 -05:00 committed by GitHub
parent 3cd68be3a5
commit 399355bfad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ parasails.registerPage('articles', {
},
mounted: async function() {
if(['Articles', 'Announcements', 'Guides', 'Releases'].includes(this.articleCategory)) {
if(['Articles', 'News', 'Guides', 'Releases'].includes(this.articleCategory)) {
if(this.algoliaPublicKey) {// Note: Docsearch will only be enabled if sails.config.custom.algoliaPublicKey is set. If the value is undefined, the handbook search will be disabled.
docsearch({
appId: 'NZXAYZXDGH',