Skip to content

Commit

Permalink
Merge pull request #64 from keyoke/keyoke/features
Browse files Browse the repository at this point in the history
Keyoke/features
  • Loading branch information
keyoke authored Oct 27, 2021
2 parents 53a27f8 + 80e48ba commit 4eab810
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/block-duplicate-project-admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class BlockDuplicatesAdmin extends React.Component<
}
);

if (includeTitle) {
if (includeTitle != null) {
this.setState((prevState: IBlockDuplicatesAdminState) => {
prevState.IncludeTitle = includeTitle;
return prevState;
Expand All @@ -93,7 +93,7 @@ export default class BlockDuplicatesAdmin extends React.Component<
}
);

if (includeDesciption) {
if (includeDesciption != null) {
this.setState((prevState: IBlockDuplicatesAdminState) => {
prevState.IncludeDesciption = includeDesciption;
return prevState;
Expand All @@ -104,7 +104,7 @@ export default class BlockDuplicatesAdmin extends React.Component<
scopeType: 'Default',
});

if (sameType) {
if (sameType != null) {
this.setState((prevState: IBlockDuplicatesAdminState) => {
prevState.SameType = sameType;
return prevState;
Expand Down

0 comments on commit 4eab810

Please sign in to comment.