diff --git a/pages/admin/library/import.vue b/pages/admin/library/import.vue
index 61af793..5f32f54 100644
--- a/pages/admin/library/import.vue
+++ b/pages/admin/library/import.vue
@@ -334,7 +334,7 @@ async function importGame(useMetadata: boolean) {
: undefined;
const option = games.unimportedGames[currentlySelectedGame.value];
- const game = await $dropFetch("/api/v1/admin/import/game", {
+ const { taskId } = await $dropFetch("/api/v1/admin/import/game", {
method: "POST",
body: {
path: option.game,
@@ -343,7 +343,7 @@ async function importGame(useMetadata: boolean) {
},
});
- router.push(`/admin/library/${game.id}`);
+ router.push(`/admin/task/${taskId}`);
}
function importGame_wrapper(metadata = true) {
importLoading.value = true;
diff --git a/pages/admin/task/[id]/index.vue b/pages/admin/task/[id]/index.vue
index 466ca83..fc6261b 100644
--- a/pages/admin/task/[id]/index.vue
+++ b/pages/admin/task/[id]/index.vue
@@ -57,11 +57,7 @@
{{ line }}
-
+