File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
frontend/javascripts/viewer/model/sagas/volume Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1295,7 +1295,6 @@ type Preparation = {
12951295
12961296function * prepareSplitOrMerge ( isSkeletonProofreading : boolean ) : Saga < Preparation | null > {
12971297 const volumeTracingLayer = yield * select ( ( state ) => getActiveSegmentationTracingLayer ( state ) ) ;
1298- const annotationVersion = yield * select ( ( state ) => state . annotation . version ) ;
12991298 const volumeTracing = yield * select ( ( state ) => getActiveSegmentationTracing ( state ) ) ;
13001299 if ( volumeTracingLayer == null || volumeTracing == null ) {
13011300 return null ;
@@ -1410,6 +1409,9 @@ function* prepareSplitOrMerge(isSkeletonProofreading: boolean): Saga<Preparation
14101409 return null ;
14111410 }
14121411
1412+ // Getting latest annotation version as it might have changed due to e.g. making the mapping editable.
1413+ const annotationVersion = yield * select ( ( state ) => state . annotation . version ) ;
1414+
14131415 return {
14141416 agglomerateFileMag,
14151417 getDataValue,
You can’t perform that action at this time.
0 commit comments