Skip to content

A platform for community discussion. Free, open, simple.

FIX: prevents sidebar to scroll when opening channel (#31454)

Joffrey JAFFEUX4fec23ebc5e1
diff --git a/app/assets/javascripts/discourse/app/components/sidebar/api-sections.gjs b/app/assets/javascripts/discourse/app/components/sidebar/api-sections.gjs
index c7909d961f6..64086019740 100644
--- a/app/assets/javascripts/discourse/app/components/sidebar/api-sections.gjs
+++ b/app/assets/javascripts/discourse/app/components/sidebar/api-sections.gjs
@@ -43,7 +43,7 @@ export default class SidebarApiSections extends Component {
<template>
<PanelHeader @sections={{this.filteredSections}} />
- {{#each this.filteredSections as |section|}}
+ {{#each this.filteredSections key="name" as |section|}}
<ApiSection
@section={{section}}
@collapsable={{@collapsable}}