From 7757e28c2843ffefc183bb919e54965b13d8144d Mon Sep 17 00:00:00 2001 From: Yukino Song Date: Thu, 6 Feb 2025 19:41:40 +0800 Subject: [PATCH] Fix prep command adding order in apps --- src_assets/common/assets/web/apps.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src_assets/common/assets/web/apps.html b/src_assets/common/assets/web/apps.html index 9f4b5112..ea0324a0 100644 --- a/src_assets/common/assets/web/apps.html +++ b/src_assets/common/assets/web/apps.html @@ -171,7 +171,7 @@
{{ $t('apps.cmd_prep_desc') }}
-
@@ -205,7 +205,7 @@ - @@ -510,7 +510,7 @@ }); } }, - addPrepCmd() { + addPrepCmd(idx) { const template = { do: "", undo: "" @@ -520,7 +520,7 @@ template.elevated = false; } - this.editForm["prep-cmd"].push(template); + this.editForm["prep-cmd"].splice(idx + 1, 0, template); }, showCoverFinder($event) { this.coverCandidates = [];