mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2026-09-17 15:42:14 -04:00
This partially reverts commit 87404864d2.
Compatibility issue is causing the theme to break: https://meta.discourse.org/t/-/282144
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{#if this.shouldShow}}
|
||||
<ul
|
||||
class="custom-header-links
|
||||
{{if @outletArgs.attrs.topic 'custom-header-links--hide-links'}}"
|
||||
{{if @scrolledTopic 'custom-header-links--hide-links'}}"
|
||||
>
|
||||
{{#each this.links as |link|}}
|
||||
<li
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<CustomHeaderLinks @scrolledTopic={{@outletArgs.attrs.topic}} />
|
||||
@@ -1,6 +0,0 @@
|
||||
import { apiInitializer } from "discourse/lib/api";
|
||||
import CustomHeaderLinks from "../components/custom-header-links";
|
||||
|
||||
export default apiInitializer("1.14.0", (api) => {
|
||||
api.renderInOutlet("before-header-panel", CustomHeaderLinks);
|
||||
});
|
||||
Reference in New Issue
Block a user