Sha256: a7de648f6aded6a23a72af62dd53b525011cbf1dfd4a08a0b6f3f9628616ad0d

Contents?: true

Size: 315 Bytes

Versions: 30

Compression:

Stored size: 315 Bytes

Contents

import ServerRefreshController from './server-refresh-controller';

export default class extends ServerRefreshController {
  static values = {
    criterionId: Number,
  }

  criterion() {
    const { state, criterionIdValue } = this;
    state.deleteCriterion(criterionIdValue);
    this.refreshFromServer()
  }
}

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
refine-rails-2.12.0 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.12 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.11 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.10 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.9 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.8 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.6 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.5 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.4 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.3 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.2 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.1 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.11.0 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.10.1 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.10.0 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.9.14 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.9.13 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.9.12 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.9.11 app/javascript/controllers/refine/delete-controller.js
refine-rails-2.9.10 app/javascript/controllers/refine/delete-controller.js