diff --git a/src/ScadaLink.CentralUI/Components/Pages/Design/ApiMethodForm.razor b/src/ScadaLink.CentralUI/Components/Pages/Design/ApiMethodForm.razor index 5e50f84..67b3cfe 100644 --- a/src/ScadaLink.CentralUI/Components/Pages/Design/ApiMethodForm.razor +++ b/src/ScadaLink.CentralUI/Components/Pages/Design/ApiMethodForm.razor @@ -30,15 +30,17 @@
| Name | URL | Auth | Retries | Delay | Actions |
|---|---|---|---|---|---|
| @es.Name | @es.EndpointUrl | @es.AuthType | -@es.MaxRetries | @es.RetryDelay.TotalSeconds s | -
- |
-
| Name | Connection String | Retries | Delay | Actions |
|---|---|---|---|---|
| @dc.Name | @dc.ConnectionString | -@dc.MaxRetries | @dc.RetryDelay.TotalSeconds s | -
- |
-
No notification lists configured.
+No notification lists match the filter.
+ } + +No recipients.
+ } + else + { +| Name | Timeout | Script (preview) | Actions |
|---|---|---|---|
POST /api/@m.Name |
- @m.TimeoutSeconds s | -@m.Script[..Math.Min(60, m.Script.Length)] | -
- |
-
No API keys configured. Add your first API key from the Admin section.
No API keys match the filter.
+ } -| Key Name | Enabled | Actions |
|---|---|---|
| @key.Name | -@(key.IsEnabled ? "Enabled" : "Disabled") | -
- |
-
| Name | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | -Name | -Code (preview) | -Parameters | -Returns | -Actions | -
|---|---|---|---|---|---|
| No shared scripts configured. | -|||||
| @script.Id | -@script.Name | -- @script.Code[..Math.Min(60, script.Code.Length)]@(script.Code.Length > 60 ? "..." : "") - | -@(script.ParameterDefinitions ?? "—") | -@(script.ReturnDefinition ?? "—") | -
- |
-
No shared scripts match the filter.
+ } + +@preview+ +
No SMTP configuration set.
+@comp.InstanceName