From 10b334b0330eb00925a8e52ed66a73644769ee5c Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Tue, 25 Mar 2025 19:52:58 +0200
Subject: [PATCH] properly hide stuff

---
 src/components/settings_modal/tabs/filtering_tab.vue | 4 ++--
 src/components/status/status.js                      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/settings_modal/tabs/filtering_tab.vue b/src/components/settings_modal/tabs/filtering_tab.vue
index 538ab047c..8b1291102 100644
--- a/src/components/settings_modal/tabs/filtering_tab.vue
+++ b/src/components/settings_modal/tabs/filtering_tab.vue
@@ -95,7 +95,7 @@
                   :id="'filterHide' + filter[0]"
                   :model-value="filter[1].hide"
                   :name="'filterHide' + filter[0]"
-                  @update:model-value="updateFilter(filter[0], 'hide', $event.target.checked)"
+                  @update:model-value="updateFilter(filter[0], 'hide', $event)"
                 >
                   {{ $t('settings.filter.hide') }}
                 </Checkbox>
@@ -104,7 +104,7 @@
                   :id="'filterEnabled' + filter[0]"
                   :model-value="filter[1].enabled"
                   :name="'filterEnabled' + filter[0]"
-                  @update:model-value="updateFilter(filter[0], 'enabled', $event.target.checked)"
+                  @update:model-value="updateFilter(filter[0], 'enabled', $event)"
                 >
                   {{ $t('settings.enabled') }}
                 </Checkbox>
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 84155085a..a84c746f0 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -219,7 +219,6 @@ const Status = {
       return !!this.currentUser
     },
     muteFilterHits () {
-      console.log(muteFilterHits(this.status))
       return muteFilterHits(this.status)
     },
     botStatus () {
@@ -339,12 +338,13 @@ const Status = {
       return this.mergedConfig.hideWordFilteredPosts
     },
     hideStatus () {
+      console.log(this.muteFilterHits[0])
       return (!this.shouldNotMute) && (
         (this.muted && this.hideFilteredStatuses) ||
         (this.userIsMuted && this.hideMutedUsers) ||
         (this.status.thread_muted && this.hideMutedThreads) ||
         (this.muteFilterHits.length > 0 && this.hideWordFilteredPosts) ||
-          (this.muteFilterHits[0]?.hide)
+          (this.muteFilterHits.some(x => x.hide))
       )
     },
     isFocused () {