mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(catalog filters): filters changed their opposite value
This commit is contained in:
@@ -24,7 +24,7 @@ const FiltersModal = ({ closeModal }: { closeModal: () => void }) => {
|
||||
<div className={styles.filters}>
|
||||
{isInCatalogView && (
|
||||
<label className={`${styles.paddingBottom} capitalize`}>
|
||||
<input type='checkbox' checked={showTextOnlyThreads} onChange={(e) => setShowTextOnlyThreads(e.target.checked)} />
|
||||
<input type='checkbox' checked={!showTextOnlyThreads} onChange={(e) => setShowTextOnlyThreads(!e.target.checked)} />
|
||||
{t('hide_threads_without_images')}
|
||||
</label>
|
||||
)}
|
||||
@@ -32,11 +32,11 @@ const FiltersModal = ({ closeModal }: { closeModal: () => void }) => {
|
||||
<div className={styles.nsfwLabels}>
|
||||
<div className={styles.categoryTitle}>NSFW Boards</div>
|
||||
<label>
|
||||
<input type='checkbox' checked={showGoreBoards} onChange={(e) => setShowGoreBoards(e.target.checked)} />
|
||||
<input type='checkbox' checked={!showGoreBoards} onChange={(e) => setShowGoreBoards(!e.target.checked)} />
|
||||
Hide Gore Boards
|
||||
</label>
|
||||
<label>
|
||||
<input type='checkbox' checked={showAdultBoards} onChange={(e) => setShowAdultBoards(e.target.checked)} />
|
||||
<input type='checkbox' checked={!showAdultBoards} onChange={(e) => setShowAdultBoards(!e.target.checked)} />
|
||||
Hide Adult Boards
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user