16-12-2022
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@using ECM.JobRunner.Common.JobRunnerReference;
|
||||
@using ECM.JobRunner.Web.Data;
|
||||
@inject ImportService Import;
|
||||
@inject JobService Jobs;
|
||||
@inject ImportProfileService Import;
|
||||
@inject HelperService Jobs;
|
||||
|
||||
@if (step == null || profile == null)
|
||||
{
|
||||
@@ -41,7 +41,7 @@ else
|
||||
}
|
||||
</select>
|
||||
<div id="stepIndexHelp" class="form-text">Der Windream Index, in den das Ergebnis des Schritte geschrieben wird</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="stepScope" class="form-label">
|
||||
@@ -166,7 +166,12 @@ else
|
||||
else
|
||||
{
|
||||
step = profile.Steps.Where(s => s.Id == StepId).SingleOrDefault();
|
||||
SetMethodArgs(step.Method);
|
||||
|
||||
if (step != null)
|
||||
{
|
||||
SetMethodArgs(step.Method);
|
||||
|
||||
}
|
||||
}
|
||||
StateHasChanged();
|
||||
}
|
||||
@@ -217,8 +222,8 @@ else
|
||||
|
||||
class StepArgument
|
||||
{
|
||||
public string name;
|
||||
public string helpText;
|
||||
public string name = "";
|
||||
public string helpText = "";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user