You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on Ember 3.28 so everything is autotracked. I noticed that when you perform() a task, it updates lastSuccessful twice. Or at least something is causing it to update.
With a getter like this, it seems as though it is being called recalculated immediately when the perform() is called, and then again after that new task is successful. In theory, the lastSuccessful property should never change as soon as perform() is called - it should only ever need to change & cause tracking updates when a perform() has finished and been successful
My use case is that I have a table like this, and each time the perform is called to go get a new value, the rows get rendered twice
{{#eachthis.taskDef.lastSuccessful.valueas |row|}}
<tr>
// each time taskDef is performed, I get rendered twice :(
</tr>
{{/each}}
I think this is a bug, but let me know if I'm doing things wrong.
The text was updated successfully, but these errors were encountered:
I'm on Ember 3.28 so everything is autotracked. I noticed that when you
perform()
a task, it updates lastSuccessful twice. Or at least something is causing it to update.With a getter like this, it seems as though it is being called recalculated immediately when the perform() is called, and then again after that new task is successful. In theory, the lastSuccessful property should never change as soon as perform() is called - it should only ever need to change & cause tracking updates when a perform() has finished and been successful
My use case is that I have a table like this, and each time the perform is called to go get a new value, the rows get rendered twice
I think this is a bug, but let me know if I'm doing things wrong.
The text was updated successfully, but these errors were encountered: