Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orb 208 fix #2309

Merged
merged 8 commits into from
Apr 18, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@

<input
(input)="onChangeGroupName($event)"
class="dataset-agent-group-input"
class="dataset-agent-group-input input-agent-group"
[readonly]="fetchedData && !(availableAgentGroups.length > 0)"
[nbAutocomplete]="autoControl"
formControlName="agent_group_name"
[status]="form?.controls.agent_group_name.touched ? (!form.controls.agent_group_name.valid ? 'danger' : 'success') : 'basic'"
nbInput
fullWidth="true"
placeholder="Agent Group"
type="text"
/>
Expand All @@ -55,7 +53,7 @@

</nb-autocomplete>
<div *ngIf="form.controls?.agent_group_id.invalid
&& (form.controls?.agent_group_name.dirty)"
&& (form.controls?.agent_group_name.dirty)"
class="required">
<div *ngIf="form.controls?.agent_group_id.errors?.required">
You must select a valid Agent Group.
Expand All @@ -81,7 +79,6 @@
data-orb-qa-id="agent_policy_id"
formControlName="agent_policy_id"
[status]="form?.controls.agent_policy_id.touched ? (!form.controls.agent_policy_id.valid ? 'danger' : 'success') : 'basic'"
fullWidth="true"
placeholder="Policy"
size="medium"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,5 @@ nb-accordion {
}

.input-agent-group {
width: 592px;
width: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ <h4>{{ isEdit ? 'Edit Agent Policy' : 'Create Agent Policy'}}</h4>
data-orb-qa-id="backend"
formControlName="backend"
fullWidth="true"
[status]="detailsFG?.controls.backend.touched ? (!detailsFG.controls.backend.valid ? 'danger' : 'success') : 'basic'"
placeholder="Select backend type"
size="medium"
>
Expand Down
1 change: 0 additions & 1 deletion ui/src/app/pages/sinks/add/sink.add.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ <h4>{{strings.sink[isEdit ? 'edit' : 'add']['header']}}</h4>
data-orb-qa-id="backend"
formControlName="backend"
fullWidth="true"
[status]="firstFormGroup?.controls.backend.touched ? (!firstFormGroup.controls.backend.valid ? 'danger' : 'success') : 'basic'"
placeholder="Select backend type"
size="medium"
>
Expand Down