-
-
+
+
diff --git a/resources/js/Pages/Fr24Import.vue b/resources/js/Pages/Fr24Import.vue
index eb09bc1..e692c4d 100644
--- a/resources/js/Pages/Fr24Import.vue
+++ b/resources/js/Pages/Fr24Import.vue
@@ -17,7 +17,7 @@ const selectedFile = ref
(null);
const blurb = computed(() => {
if (status.value === 'success') {
- return `Successfully imported ${importedCount} flight${importedCount.value !== 1 ? 's' : ''}. You will just need to reconcile some mismatched airlines and airports.`;
+ return `Successfully imported ${importedCount.value} flight${importedCount.value !== 1 ? 's' : ''}. You will just need to reconcile some mismatched airlines and airports.`;
}
return 'Import a CSV export from MyFlightRadar24. You will then be guided to reconcile any data mismatches.';
});
@@ -64,45 +64,49 @@ async function onFileChange(e: Event) {
-
-
- Import a CSV export from MyFlightRadar24. You will then be guided
- to reconcile any data mismatches.
-
-
- Successfully imported {{ importedCount }} flight{{ importedCount !== 1 ? 's' : '' }}. You will just need to reconcile some mismatched airlines and airports.
-
-
+
+
-
-
- Importing your flights…
-
+
+
+
-
- {{ err }}
-
+
+
+ Importing your flights…
+
- Reconcile Your Data
+
+ Reconcile Your Data
+
+
+
+
+
+
+ {{ err }}
+
+
+
+
diff --git a/resources/js/Pages/ReconcileFlight.vue b/resources/js/Pages/ReconcileFlight.vue
index fcaf173..5e3779b 100644
--- a/resources/js/Pages/ReconcileFlight.vue
+++ b/resources/js/Pages/ReconcileFlight.vue
@@ -195,11 +195,17 @@ function submit() {
-
-
- Save Flight
+
+
+ Save Flight
diff --git a/routes/web.php b/routes/web.php
index 1242464..f81002d 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -34,12 +34,9 @@ Route::domain(config('app.domain'))->group(
Route::get('/reconcile', function () {
$flight = new FlightImportController()->reconcile(request());
- if (!$flight) {
- return redirect('/import/fr24');
- }
-
return Inertia::render('ReconcileFlight', [
'flight' => $flight,
+ 'key' => $flight['imported_flight_id'],
]);
})->name('reconcile');