view .hgchurn @ 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 451c7d3fe6be
children
line wrap: on
line source

teichmann@intevation.de = sascha.teichmann@intevation.de
bernhard.reiter@intevation.de = bernhard@intevation.de