mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(catalog filter): force show op comment for text-only threads
This commit is contained in:
@@ -118,12 +118,11 @@ const ImageSizeOptions = () => {
|
||||
|
||||
const ShowOPCommentOption = () => {
|
||||
const { showOPComment, setShowOPComment } = useCatalogStyleStore();
|
||||
const { showTextOnlyThreads } = useCatalogFiltersStore();
|
||||
|
||||
return (
|
||||
<>
|
||||
<span>Show OP Comment:</span>
|
||||
<select value={showOPComment ? 'On' : 'Off'} onChange={(e) => setShowOPComment(e.target.value === 'On')} disabled={showTextOnlyThreads}>
|
||||
<select value={showOPComment ? 'On' : 'Off'} onChange={(e) => setShowOPComment(e.target.value === 'On')}>
|
||||
<option value='Off'>Off</option>
|
||||
<option value='On'>On</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user