We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50495ba commit f8581f9Copy full SHA for f8581f9
src/components/app.jsx
@@ -454,7 +454,7 @@ BookLibService.Borrow(id) {
454
}
455
456
checkItemsLimit() {
457
- if(!this.state.user || this.state.user.items && Object.keys(this.state.user.items).length <= 3 || userService.isPro()) {
+ if(!this.state.user || !this.state.user.items || Object.keys(this.state.user.items).length <= 3 || userService.isPro()) {
458
return true;
459
460
0 commit comments