Skip to content

Commit f69b423

Browse files
committed
index: Fix hasData property lookup
The property is on the controller, not on the task itself 😅
1 parent 6eb1992 commit f69b423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default Route.extend({
1717
},
1818

1919
setupController(controller) {
20-
if (!controller.dataTask.hasData) {
20+
if (!controller.hasData) {
2121
let promise = controller.dataTask.perform();
2222
if (this.fastboot.isFastBoot) {
2323
this.fastboot.deferRendering(promise);

0 commit comments

Comments
 (0)