client-app/app/routes/index.js in logster-2.1.2 vs client-app/app/routes/index.js in logster-2.2.0
- old
+ new
@@ -8,19 +8,12 @@
return MessageCollection.create();
},
setupController(controller, model) {
this._super(controller, model);
- controller.setProperties({
- showDebug: true,
- showInfo: true,
- showWarn: true,
- showErr: true,
- showFatal: true,
- search: "",
- initialized: true
- });
+ model.setProperties(controller.getProperties("filter", "search"));
model.reload();
+ controller.set("initialized", true);
let times = 0;
let backoff = 1;
this.refreshInterval = setInterval(() => {