Only send settings that are actually in the config back to the watch

This commit is contained in:
Keegan
2016-05-29 11:38:00 -07:00
parent 1af2b39db1
commit 32e192e938
2 changed files with 23 additions and 0 deletions
+3
View File
@@ -184,6 +184,9 @@ function ClayConfig(settings, config, $rootContainer, meta) {
*/
self.serialize = function() {
_checkBuilt('serialize');
_settings = {};
_.eachObj(_itemsByAppKey, function(appKey, item) {
_settings[appKey] = {
value: item.get()