Mercurial > gemma
diff docker/Dockerfile.backend @ 2502:e13daf439068 critical-bottlenecks
client: fixed Unexpected side effect in computed property
Sort mutates the array and since this array lives in the store, this would be considered a bad practice
including said side effects. Slice clones the array and we need to slice the array anyway. So simply
switching slice and sort solved the problem.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 04 Mar 2019 16:20:57 +0100 |
parents | 153c77e529dc |
children | 718ec88fbeed |