client-app/app/controllers/show.js in logster-2.4.2 vs client-app/app/controllers/show.js in logster-2.5.0
- old
+ new
@@ -1,13 +1,19 @@
import Controller from "@ember/controller";
export default Controller.extend({
+ envPosition: 0,
+
actions: {
protect() {
this.get("model").protect();
},
unprotect() {
this.get("model").unprotect();
+ },
+
+ envChanged(newPosition) {
+ this.set("envPosition", newPosition);
}
}
});