|
@@ -21,7 +21,7 @@ const SearchOptionModal: FC<Props> = (props: Props) => {
|
|
|
const { t } = useTranslation('');
|
|
const { t } = useTranslation('');
|
|
|
|
|
|
|
|
const {
|
|
const {
|
|
|
- isOpen, onClose, switchExcludingUnderUserPage, switchExcludingUnderTrashPage,
|
|
|
|
|
|
|
+ isOpen, onClose, onSwitchExcludingUserPagesInvoked, onSwitchExcludingTrashPagesInvoked,
|
|
|
excludeUnderUserPage, excludeUnderTrashPage,
|
|
excludeUnderUserPage, excludeUnderTrashPage,
|
|
|
} = props;
|
|
} = props;
|
|
|
|
|
|
|
@@ -50,7 +50,7 @@ const SearchOptionModal: FC<Props> = (props: Props) => {
|
|
|
<input
|
|
<input
|
|
|
className="mr-2"
|
|
className="mr-2"
|
|
|
type="checkbox"
|
|
type="checkbox"
|
|
|
- onClick={props.onSwitchExcludingUserPagesInvoked}
|
|
|
|
|
|
|
+ onClick={onSwitchExcludingUserPagesInvoked}
|
|
|
checked={!excludeUnderUserPage}
|
|
checked={!excludeUnderUserPage}
|
|
|
/>
|
|
/>
|
|
|
{t('Include Subordinated Target Page', { target: '/user' })}
|
|
{t('Include Subordinated Target Page', { target: '/user' })}
|
|
@@ -61,7 +61,7 @@ const SearchOptionModal: FC<Props> = (props: Props) => {
|
|
|
<input
|
|
<input
|
|
|
className="mr-2"
|
|
className="mr-2"
|
|
|
type="checkbox"
|
|
type="checkbox"
|
|
|
- onClick={props.onSwitchExcludingTrashPagesInvoked}
|
|
|
|
|
|
|
+ onClick={onSwitchExcludingTrashPagesInvoked}
|
|
|
checked={!excludeUnderTrashPage}
|
|
checked={!excludeUnderTrashPage}
|
|
|
/>
|
|
/>
|
|
|
{t('Include Subordinated Target Page', { target: '/trash' })}
|
|
{t('Include Subordinated Target Page', { target: '/trash' })}
|