Przeglądaj źródła

fix sync service checkbox

Gerald 9 lat temu
rodzic
commit
757ce33f55
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/options/views/sync-service.js

+ 1 - 0
src/options/views/sync-service.js

@@ -5,6 +5,7 @@ var SyncServiceView = BaseView.extend({
   },
   _render: function () {
     var it = this.model.toJSON();
+    it.enabled = _.options.get(it.name + 'Enabled');
     it.initializing = it.authState === 'initializing';
     it.authorized = it.authState === 'authorized';
     it.unauthorized = it.authState === 'unauthorized';