We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e603cd6 + 25fd2d9 commit 7b2faa1Copy full SHA for 7b2faa1
control/design/index.html
@@ -207,9 +207,11 @@
207
208
$scope.data.design = $scope.data.design || {};
209
$scope.data.design.colors = $scope.data.design.colors || {};
210
+ // $scope.data.design.colorType = angular.equals({}, $scope.data.design.colors) ? "A" : "C";
211
- $scope.data.design.colorType = angular.equals({}, $scope.data.design.colors) ? "A" : "C";
212
-
+ if(angular.equals({}, $scope.data.design.colors)){
213
+ $scope.data.design.colorType = "A";
214
+ }
215
/*
216
* watch for changes in data and trigger the saveData function on change
217
* */
0 commit comments