Sha256: 852681d0a74a1a1d10451e79afc92ea27b0e9803b32b631c3d7eb9454e113a3f

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

import classic from "ember-classic-decorator";
import Controller from "@ember/controller";
import { action } from "@ember/object";

@classic
export default class ShowController extends Controller {
  envPosition = 0;

  @action
  protect() {
    this.model.protect();
  }

  @action
  unprotect() {
    this.model.unprotect();
  }

  @action
  envChanged(newPosition) {
    this.set("envPosition", newPosition);
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
logster-2.13.0 client-app/app/controllers/show.js
logster-2.12.2 client-app/app/controllers/show.js
logster-2.12.1 client-app/app/controllers/show.js