From 916b1ffeffa2e052825d62970d2b1fd91c817f9e Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 8 Dec 2023 17:34:37 +0000 Subject: [PATCH] DEV: Update to support core outletArgs change (#44) --- javascripts/discourse/components/custom-header-links.hbs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/javascripts/discourse/components/custom-header-links.hbs b/javascripts/discourse/components/custom-header-links.hbs index a8ed5ec..3b7cd72 100644 --- a/javascripts/discourse/components/custom-header-links.hbs +++ b/javascripts/discourse/components/custom-header-links.hbs @@ -1,7 +1,14 @@ {{#if this.shouldShow}} + {{! + @outletArgs.attrs.topic is the legacy version. Can be removed once core v3.2.0.beta4 is released + and this Theme's compatibility file is updated + }}