Browse Source

Small UI fix.

pull/588/head
Sebastian 5 years ago
parent
commit
2758a56486
  1. 2
      backend/extensions/Squidex.Extensions/Actions/Webhook/WebhookAction.cs
  2. 4
      frontend/app/features/rules/pages/rules/actions/generic-action.component.html

2
backend/extensions/Squidex.Extensions/Actions/Webhook/WebhookAction.cs

@ -29,7 +29,7 @@ namespace Squidex.Extensions.Actions.Webhook
public Uri Url { get; set; }
[LocalizedRequired]
[Display(Name = "Url", Description = "The type of the request.")]
[Display(Name = "Method", Description = "The type of the request.")]
public WebhookMethod Method { get; set; }
[Display(Name = "Payload (Optional)", Description = "Leave it empty to use the full event as body.")]

4
frontend/app/features/rules/pages/rules/actions/generic-action.component.html

@ -21,8 +21,8 @@
</ng-container>
<ng-container *ngSwitchCase="'Dropdown'">
<select class="custom-select" [formControlName]="property.name">
<option *ngIf="!property.isRequired"></option>
<option *ngFor="let option of property.options">{{option}}</option>
<option></option>
<option *ngFor="let option of property.options" [ngValue]="option">{{option}}</option>
</select>
</ng-container>
<ng-container *ngSwitchDefault>

Loading…
Cancel
Save