Skip to content

Commit

Permalink
Revert "DEV: Switch to new API to render into plugin outlet (#37)" (#39)
Browse files Browse the repository at this point in the history
This partially reverts commit 8740486.

Compatibility issue is causing the theme to break: https://meta.discourse.org/t/-/282144
  • Loading branch information
tgxworld authored Oct 16, 2023
1 parent 8740486 commit d3498f7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
< 3.2.0.beta2-dev: 061adfe5ae20abbb82be711d373894c30987ec75
< 3.2.0.beta1-dev: c344d0f519bbb3660e306c50c0d1aa1a776c5e13
3.1.999: bd0594108a1cfd6c11cb8af218dba9b211b44015
< 3.2.0.beta1-dev: c344d0f519bbb3660e306c50c0d1aa1a776c5e13
2 changes: 1 addition & 1 deletion javascripts/discourse/components/custom-header-links.hbs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<CustomHeaderLinks @scrolledTopic={{@outletArgs.attrs.topic}} />

This file was deleted.

0 comments on commit d3498f7

Please sign in to comment.