15-12-2022 ~ 2
This commit is contained in:
@@ -72,10 +72,6 @@ else
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Profilschritte</h3>
|
||||
|
||||
<ECM.JobRunner.Web.Pages.ImportStep.ListSteps Profile="profile" />
|
||||
|
||||
<div class="btn-toolbar mt-3" role="toolbar" aria-label="Toolbar with button groups">
|
||||
<div class="btn-group me-2" role="group" aria-label="First group">
|
||||
<a class="btn btn-secondary" href="profiles/import">
|
||||
@@ -97,7 +93,7 @@ else
|
||||
</div>
|
||||
<div class="flex-column flex-fill"></div>
|
||||
<div class="btn-group" role="group">
|
||||
<a class="btn btn-secondary" href="profiles/import/@profile.Id/steps">Profilschritte bearbeiten</a>
|
||||
<a class="btn btn-secondary" href="profiles/import/@profile.Id/steps">Profilschritte bearbeiten (@profile.Steps.Length)</a>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -127,10 +123,10 @@ else
|
||||
bool confirmed = await JsRuntime.InvokeAsync<bool>("confirm", "Are you sure?");
|
||||
if (confirmed)
|
||||
{
|
||||
//if (await Jobs.DeleteJob(profile) == true)
|
||||
//{
|
||||
// Navigation.NavigateTo($"/jobs");
|
||||
//};
|
||||
if (await Import.DeleteProfile(profile) == true)
|
||||
{
|
||||
Navigation.NavigateTo($"/jobs");
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user