mxcube / mxcubeweb

MXCuBE-Web
http://mxcube.github.io/mxcubeweb/
GNU Lesser General Public License v3.0
25 stars 39 forks source link

[SampleGrid] - Fixes issue with tasks getting duplicated when sample mounted from sample list #1467

Closed marcus-oscarsson closed 1 month ago

marcus-oscarsson commented 1 month ago

The method addSampleAndMount was, incorrectly, called from Mount in the sample list context menu.

The consequence was that any contents of the sample was added again, multiplying the number of tasks by two every-time a sample was mounted via the sample list.

The method addSampleAndMount was replaced by mountSample instead.