diff --git a/ui/admin/app/components/form/worker/create-worker-led/index.hbs b/ui/admin/app/components/form/worker/create-worker-led/index.hbs
index c083c7085..2f1efc4fe 100644
--- a/ui/admin/app/components/form/worker/create-worker-led/index.hbs
+++ b/ui/admin/app/components/form/worker/create-worker-led/index.hbs
@@ -50,66 +50,24 @@
placeholder='10.0.0.1, 10.0.0.2, 10.0.0.3'
/>
{{/if}}
+
+ <:fieldset as |F|>
+ {{t 'resources.worker.form.worker_tags.label'}}
+
+ {{t 'resources.worker.form.worker_tags.help'}}
+
+
-
- {{t 'resources.worker.form.worker_tags.label'}}
- {{t
- 'resources.worker.form.worker_tags.help'
- }}
-
-
-
- {{#each this.workerTags as |tag index|}}
-
-
-
-
-
-
-
-
-
- {{t 'actions.remove'}}
-
-
-
- {{/each}}
-
-
-
-
-
-
-
-
-
-
- {{t 'actions.add'}}
-
-
-
-
-
-
-
+ <:field as |F|>
+
+
+
{{#if (feature-flag 'ssh-session-recording')}}
diff --git a/ui/admin/app/components/form/worker/create-worker-led/index.js b/ui/admin/app/components/form/worker/create-worker-led/index.js
index 40c607f32..21379f0e1 100644
--- a/ui/admin/app/components/form/worker/create-worker-led/index.js
+++ b/ui/admin/app/components/form/worker/create-worker-led/index.js
@@ -31,8 +31,6 @@ export default class FormWorkerCreateWorkerLedComponent extends Component {
@tracked configFilePath;
@tracked initialUpstreams;
@tracked workerTags = A([]);
- @tracked newWorkerKey;
- @tracked newWorkerValue;
@tracked enableRecordingStoragePath = false;
@tracked recording_storage_path = '';
@@ -189,10 +187,8 @@ unzip *.zip ;\\
}
@action
- addWorkerTag() {
- this.workerTags.pushObject(new Tag(this.newWorkerKey, this.newWorkerValue));
- this.newWorkerKey = '';
- this.newWorkerValue = '';
+ addWorkerTag(e) {
+ this.workerTags.pushObject(new Tag(e.key, e.value));
}
@action