Skip to content

Commit

Permalink
Update app/controllers/promise-tree.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner authored Oct 31, 2024
1 parent 8109162 commit 578c504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/promise-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class PromiseTreeController extends Controller {
return this.model.length === 0;
}
get wasCleared() {
return !this.createdAfter;
return Boolean(this.createdAfter);
}
get neverCleared() {
return !this.wasCleared;
Expand Down

0 comments on commit 578c504

Please sign in to comment.