diff --git a/ui/admin/app/components/form/target/worker-filter/index.hbs b/ui/admin/app/components/worker-filter/index.hbs similarity index 100% rename from ui/admin/app/components/form/target/worker-filter/index.hbs rename to ui/admin/app/components/worker-filter/index.hbs diff --git a/ui/admin/app/components/form/target/worker-filter/index.js b/ui/admin/app/components/worker-filter/index.js similarity index 66% rename from ui/admin/app/components/form/target/worker-filter/index.js rename to ui/admin/app/components/worker-filter/index.js index 818fc29983..4da609eb11 100644 --- a/ui/admin/app/components/form/target/worker-filter/index.js +++ b/ui/admin/app/components/worker-filter/index.js @@ -6,12 +6,12 @@ import Component from '@glimmer/component'; import { action } from '@ember/object'; -export default class FormTargetWorkerFilterIndexComponent extends Component { +export default class WorkerFilterComponent extends Component { // =actions /** - * Sets the target model filter to the passed in value. - * @param {TargetModel} model + * Sets the model filter to the passed in value. + * @param {Model} model * @param {string} filter * @param {string} value */ diff --git a/ui/admin/app/templates/scopes/scope/targets/target/edit-egress-worker-filter.hbs b/ui/admin/app/templates/scopes/scope/targets/target/edit-egress-worker-filter.hbs index d6c5660bb6..21a17a612f 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/edit-egress-worker-filter.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/edit-egress-worker-filter.hbs @@ -25,7 +25,7 @@ - - {}; this.model = { egress_worker_filter: 'egress filter' }; await render( - hbs``, + hbs``, ); assert.dom('[data-test-code-editor-field-editor]').isVisible(); @@ -34,7 +34,7 @@ module('Integration | Component | form/target/worker-filter', function (hooks) { this.cancel = () => {}; this.model = { ingress_worker_filter: 'ingress filter' }; await render( - hbs``, + hbs``, ); assert.dom('[data-test-code-editor-field-editor]').isVisible();