mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-28 21:06:58 -04:00
Only send settings that are actually in the config back to the watch
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user