From ae29144f18bbd0cac3c65ae4bf869fade1c5ffb0 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Thu, 27 Oct 2022 00:06:16 +0200 Subject: fixing things :) --- public/assets/js/lib/views/stream/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 8ef9208..e961fc2 100644 --- a/public/assets/js/lib/views/stream/index.js +++ b/public/assets/js/lib/views/stream/index.js @@ -10,13 +10,14 @@ var StreamView = View.extend({ load: function ({ ...target }) { $("body").addClass("index"); - console.log(target); + console.log("target", target); $.get(this.action, target, this.populate.bind(this)); }, populate: function (data) { $("body").removeClass("loading"); this.data = data; + this.hootfilters.load(data); this.hootstream.load(data, this.hootfilters.state); if (data.mail.count) { $(".alert") @@ -43,6 +44,7 @@ var StreamView = View.extend({ }, onFilter: function (filters) { + console.log("onfilter"); this.hootstream.build(filters); }, -- cgit v1.2.3-70-g09d2