+
+function checkForChoiceAndRemove(k, confd, model) {
+ let state = model.uiState;
+ if (state.choice) {
+ let choice = state.choice[k]
+ if(choice) {
+ for (let key in confd[k]) {
+ confd[key] = confd[k][key]
+ };
+ delete confd[k];
+ }
+ }
+ return confd;
+ }
+