From 6c8caa49d9a494c57a43adb26ff999ca17adb0e2 Mon Sep 17 00:00:00 2001 From: WildSoft Date: Wed, 7 Oct 2026 09:34:55 +0300 Subject: [PATCH] Update public source --- .../server/web/templates/method_create.html | 39 +++++-------------- 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/cracklab/server/web/templates/method_create.html b/cracklab/server/web/templates/method_create.html index b2333e5..1f53bfc 100644 --- a/cracklab/server/web/templates/method_create.html +++ b/cracklab/server/web/templates/method_create.html @@ -1484,27 +1484,6 @@ `; - if (initialStep) { - modeSelect.value = - String( - initialStep.attack_mode, - ); - - workloadProfile = - step.querySelector( - "[data-workload-profile]", - ); - - if ( - workloadProfile && - initialStep.workload_profile - ) { - workloadProfile.value = - String( - initialStep.workload_profile, - ); - } - } stepsContainer.appendChild( step, @@ -1788,15 +1767,15 @@ }, ); - if (initialSteps.length > 0) { - initialSteps.forEach( - (step) => { - addStep(step); - }, - ); - } else { - addStep(); - } + if (initialSteps.length > 0) { + initialSteps.forEach( + (step) => { + addStep(step); + }, + ); + } else { + addStep(); + } {% endblock %}