Skip to content

Commit 07f8348

Browse files
committed
MOTECH-2618 Fixed the console error while selecting default configuration
1 parent 1b2cf6a commit 07f8348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commcare/src/main/resources/webapp/js/controllers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
} else {
298298
$scope.rollback = false;
299299
}
300-
} else if (newValue !== undefined && newValue.name === "") {
300+
} else if (newValue && newValue.name === "") {
301301
$scope.newConfig = true;
302302
$scope.oldName = "";
303303
$scope.clearMessages();

0 commit comments

Comments
 (0)