kraken-hpc / kraken-dashboard

A React.js based dashboard for kraken (https://github.com/hpc/kraken)
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Fixed cfg and dsc locking problem #11

Closed kpelzel closed 4 years ago

kpelzel commented 4 years ago

There was a problem with using new Map(<old-map>). I thought this would make a copy of the old map, but it was just referencing it. So now I use cloneDeep from lodash to clone the map before making edits to it.