DEV: Remove code that is no longer used (#17684)
This commit is contained in:
parent
dcf84fce7b
commit
c787254427
|
@ -51,10 +51,6 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, {
|
||||||
mobile.toggleMobileView();
|
mobile.toggleMobileView();
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleSidebar() {
|
|
||||||
this.controllerFor("application").send("toggleSidebar");
|
|
||||||
},
|
|
||||||
|
|
||||||
logout: unlessReadOnly(
|
logout: unlessReadOnly(
|
||||||
"_handleLogout",
|
"_handleLogout",
|
||||||
I18n.t("read_only_mode.logout_disabled")
|
I18n.t("read_only_mode.logout_disabled")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<DSection @pageClass="has-sidebar" @class="sidebar-container" @scrollTop={{false}}>
|
<DSection @pageClass="has-sidebar" @class="sidebar-container" @scrollTop={{false}}>
|
||||||
<div class="sidebar-scroll-wrap">
|
<div class="sidebar-scroll-wrap">
|
||||||
<Sidebar::Sections @collapsableSections={{true}}/>
|
<Sidebar::Sections @collapsableSections={{true}}/>
|
||||||
<Sidebar::Footer @toggleSidebar={{@toggleSidebar}} @tagName=""/>
|
<Sidebar::Footer @tagName=""/>
|
||||||
</div>
|
</div>
|
||||||
</DSection>
|
</DSection>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="panel-body-content">
|
<div class="panel-body-content">
|
||||||
<div class="sidebar-hamburger-dropdown">
|
<div class="sidebar-hamburger-dropdown">
|
||||||
<Sidebar::Sections @collapsableSections={{false}}/>
|
<Sidebar::Sections @collapsableSections={{false}}/>
|
||||||
<Sidebar::Footer @toggleSidebar={{route-action "toggleSidebar"}} @tagName="" />
|
<Sidebar::Footer @tagName="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue