refactor: 💡 remove worker tags from detail view of worker (#2380)
* refactor: 💡 remove worker tags from detail view of worker ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13890 * refactor: 💡 remove unused styles ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13890 * style: 💄 fix lint error ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13890 * style: 💄 fix stylelint rules ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13890
This commit is contained in:
1 parent
071e0bd617
commit
825c9556b6
3 files changed
+2
-33
No files matched your search
@@ -50,30 +50,6 @@
|
||||
{{/if}}
|
||||
</Hds::Form::Textarea::Field>
|
||||
|
||||
<Hds::Form::Fieldset as |F|>
|
||||
<F.Legend>{{t 'resources.worker.form.worker_tags.label'}}</F.Legend>
|
||||
<F.HelperText>{{t 'resources.worker.form.worker_tags.help'}}</F.HelperText>
|
||||
<F.Control>
|
||||
<Hds::Table class='list-wrapper-field config-tags' name='config_tags'>
|
||||
<:body as |B|>
|
||||
{{#each-in @model.config_tags as |key value|}}
|
||||
<B.Tr>
|
||||
<B.Td>
|
||||
<Hds::Form::TextInput::Base @value={{key}} disabled={{true}} />
|
||||
</B.Td>
|
||||
<B.Td>
|
||||
<Hds::Form::TextInput::Base
|
||||
@value={{value}}
|
||||
disabled={{true}}
|
||||
/>
|
||||
</B.Td>
|
||||
</B.Tr>
|
||||
{{/each-in}}
|
||||
</:body>
|
||||
</Hds::Table>
|
||||
</F.Control>
|
||||
</Hds::Form::Fieldset>
|
||||
|
||||
<InfoField @value={{@model.address}} disabled={{form.disabled}} as |F|>
|
||||
<F.Label>{{t 'form.address.label'}}</F.Label>
|
||||
<F.HelperText>{{t 'form.worker_address.help'}}</F.HelperText>
|
||||
|
||||
@@ -732,14 +732,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.config-tags {
|
||||
.hds-table__td:last-child {
|
||||
// remove width from last cell
|
||||
width: unset;
|
||||
}
|
||||
/* stylelint-enable selector-class-pattern */
|
||||
}
|
||||
/* stylelint-enable selector-class-pattern */
|
||||
}
|
||||
|
||||
.auth-methods-list-alert {
|
||||
|
||||
@@ -122,7 +122,7 @@ module('Acceptance | workers | create', function (hooks) {
|
||||
assert.dom(`[href="${newWorkerURL}"]`).isNotVisible();
|
||||
});
|
||||
|
||||
test('saving a new user with invalid fields displays error messages', async function (assert) {
|
||||
test('saving a new worker with invalid fields displays error messages', async function (assert) {
|
||||
this.server.post('/workers:create:worker-led', () => {
|
||||
return new Response(
|
||||
500,
|
||||
|
||||
Reference in new issue
Block a user