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.
hasData
1 parent dc9bdd5 commit 6eb1992Copy full SHA for 6eb1992
app/controllers/index.js
@@ -11,7 +11,7 @@ export default Controller.extend({
11
model: readOnly('dataTask.lastSuccessful.value'),
12
13
hasData: computed('dataTask.{lastSuccessful,isRunning}', function () {
14
- return this.get('dataTask.lastSuccessful') || !this.get('dataTask.isRunning');
+ return this.get('dataTask.lastSuccessful') && !this.get('dataTask.isRunning');
15
}),
16
17
dataTask: task(function* () {
0 commit comments