mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 08:34:43 +01:00
Fix handling
This commit is contained in:
@@ -152,7 +152,9 @@ export default class Options extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
// If setting any other game, automatically set to redirect more
|
// If setting any other game, automatically set to redirect more
|
||||||
if (!value.toLowerCase().includes('genshin' || 'yuanshen')) {
|
if (!value.toLowerCase().includes('genshin' || 'yuanshen')) {
|
||||||
this.toggleOption('redirect_more')
|
if (!this.state.redirect_more) {
|
||||||
|
this.toggleOption('redirect_more')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
|
|||||||
Reference in New Issue
Block a user