Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a key to the alloc table on the task group detail page
Adding keys tells Ember to rerender matching entries instead of destroying and recreating. Without this key, every time the allocation collection changes, every allocation row gets destroyed and recreated. This happens a lot, since each allocation needs to be reloaded which dirties the collection. Since allocation rows fetch stats on init, each of these many many renders results in a stats request. By using key and rerendering matching records, this all goes away. Since the rows aren't being destroyed and recreated, the init stats request isn't being made overnumerously.
- Loading branch information