Keep socketUris when editing an atom
@@ -201,6 +201,7 @@ function genComponentConf() {
useCase.draft.seeks = fromAtomSeeks.toJS();
}
+ if (!isEditFromAtom) {
if (socketsReset) {
useCase.draft.content.sockets = socketsReset.toJS();
}
@@ -215,6 +216,7 @@ function genComponentConf() {
useCase.draft.seeks.defaultSocket = seeksDefaultSocketReset.toJS();
}
}
+ }
} else {
useCaseString = generalSelectors.getUseCaseFromRoute(state);
useCase = useCaseUtils.getUseCase(useCaseString);
