DEV: add before-sidebar-sections outlet to dropdown mode too (#28376)

This commit is contained in:
Kris 2024-08-14 16:25:58 -04:00 committed by GitHub
parent 49449531de
commit 8cd42de2ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import { schedule } from "@ember/runloop";
import { service } from "@ember/service";
import { or } from "truth-helpers";
import DeferredRender from "discourse/components/deferred-render";
import PluginOutlet from "discourse/components/plugin-outlet";
import ApiPanels from "./api-panels";
import Footer from "./footer";
import Sections from "./sections";
@ -56,6 +57,7 @@ export default class SidebarHamburgerDropdown extends Component {
class="sidebar-hamburger-dropdown"
{{didInsert this.focusFirstLink}}
>
<PluginOutlet @name="before-sidebar-sections" />
{{#if
(or this.sidebarState.showMainPanel @forceMainSidebarPanel)
}}