Flip wrong way round flag.

release
Sam Kelleher 2017-05-29 12:14:05 +01:00
parent 184f2824f5
commit 32a5206453
No known key found for this signature in database
GPG Key ID: 482BDE9844A397AC
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export default class Picker extends React.Component {
let includeRecent = props.include && props.include.length ? props.include.indexOf('recent') > -1 : true
let excludeRecent = props.exclude && props.exclude.length ? props.exclude.indexOf('recent') > -1 : false
if (includeRecent && !excludeRecent) {
if (!includeRecent && excludeRecent) {
this.hideRecent = true
this.categories.unshift(RECENT_CATEGORY)
}