From 7f711d777be2cea5025bbc35ce5d48a021904616 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Mon, 16 Oct 2023 14:52:01 +0800 Subject: [PATCH] Revert "DEV: Switch to new API to render into plugin outlet (#37)" This partially reverts commit 87404864d20f318629a1413383c76b8ce4bfd398. --- .discourse-compatibility | 3 +-- javascripts/discourse/components/custom-header-links.hbs | 2 +- .../before-header-panel/custom-header-link-connector.hbs | 1 + .../discourse/initializers/discourse-custom-header-links.js | 6 ------ 4 files changed, 3 insertions(+), 9 deletions(-) create mode 100644 javascripts/discourse/connectors/before-header-panel/custom-header-link-connector.hbs delete mode 100644 javascripts/discourse/initializers/discourse-custom-header-links.js diff --git a/.discourse-compatibility b/.discourse-compatibility index 5a33eee..938ccf7 100644 --- a/.discourse-compatibility +++ b/.discourse-compatibility @@ -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 diff --git a/javascripts/discourse/components/custom-header-links.hbs b/javascripts/discourse/components/custom-header-links.hbs index a8ed5ec..4038329 100644 --- a/javascripts/discourse/components/custom-header-links.hbs +++ b/javascripts/discourse/components/custom-header-links.hbs @@ -1,7 +1,7 @@ {{#if this.shouldShow}}