From 515d432e5143abc4c12193568b3a6f8461b64242 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Thu, 27 Oct 2022 17:42:10 +0200 Subject: render --- public/assets/js/lib/views/stream/index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/assets/js/lib/views/stream/index.js') diff --git a/public/assets/js/lib/views/stream/index.js b/public/assets/js/lib/views/stream/index.js index bfd042a..1504554 100644 --- a/public/assets/js/lib/views/stream/index.js +++ b/public/assets/js/lib/views/stream/index.js @@ -18,6 +18,9 @@ var StreamView = View.extend({ populate: function (data) { $("body").removeClass("loading"); this.data = data; + const { query } = data; + const isHomePage = !(query.thread || query.username || query.keyword); + this.hootform.toggle(isHomePage); this.hootfilters.load(data, this.target); this.hootstream.load(data, this.hootfilters.state); if (data.mail.count) { -- cgit v1.2.3-70-g09d2