mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: add before-sidebar-sections outlet to dropdown mode too (#28376)
This commit is contained in:
@@ -5,6 +5,7 @@ import { schedule } from "@ember/runloop";
|
|||||||
import { service } from "@ember/service";
|
import { service } from "@ember/service";
|
||||||
import { or } from "truth-helpers";
|
import { or } from "truth-helpers";
|
||||||
import DeferredRender from "discourse/components/deferred-render";
|
import DeferredRender from "discourse/components/deferred-render";
|
||||||
|
import PluginOutlet from "discourse/components/plugin-outlet";
|
||||||
import ApiPanels from "./api-panels";
|
import ApiPanels from "./api-panels";
|
||||||
import Footer from "./footer";
|
import Footer from "./footer";
|
||||||
import Sections from "./sections";
|
import Sections from "./sections";
|
||||||
@@ -56,6 +57,7 @@ export default class SidebarHamburgerDropdown extends Component {
|
|||||||
class="sidebar-hamburger-dropdown"
|
class="sidebar-hamburger-dropdown"
|
||||||
{{didInsert this.focusFirstLink}}
|
{{didInsert this.focusFirstLink}}
|
||||||
>
|
>
|
||||||
|
<PluginOutlet @name="before-sidebar-sections" />
|
||||||
{{#if
|
{{#if
|
||||||
(or this.sidebarState.showMainPanel @forceMainSidebarPanel)
|
(or this.sidebarState.showMainPanel @forceMainSidebarPanel)
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user