From 54b0640047fbc7581296992b314c3ef5035d1be1 Mon Sep 17 00:00:00 2001 From: "Nanashi." Date: Mon, 28 Oct 2024 02:11:11 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E3=82=A4=E3=83=B3=E3=83=9D=E3=83=BC?= =?UTF-8?q?=E3=83=88=E9=A0=86=E3=82=92=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF?= =?UTF-8?q?=E9=A0=86=E3=81=AB=E4=BE=9D=E5=AD=98=E3=81=97=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B=20(#2320)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialog/ImportSongProjectDialog.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Dialog/ImportSongProjectDialog.vue b/src/components/Dialog/ImportSongProjectDialog.vue index 223c2f33eb..b7ea98ac84 100644 --- a/src/components/Dialog/ImportSongProjectDialog.vue +++ b/src/components/Dialog/ImportSongProjectDialog.vue @@ -306,15 +306,16 @@ const handleImportTrack = () => { throw new Error("project or selected track is not set"); } // トラックをインポート + const trackIndexes = selectedTrackIndexes.value.toSorted(); if (project.value.type === "vvproj") { void store.dispatch("COMMAND_IMPORT_VOICEVOX_PROJECT", { project: project.value.project, - trackIndexes: selectedTrackIndexes.value, + trackIndexes, }); } else { void store.dispatch("COMMAND_IMPORT_UTAFORMATIX_PROJECT", { project: project.value.project, - trackIndexes: selectedTrackIndexes.value, + trackIndexes, }); } onDialogOK();