diff --git a/Components/Pages/Jobs.razor b/Components/Pages/Jobs.razor index 7e2eb9a..d415766 100644 --- a/Components/Pages/Jobs.razor +++ b/Components/Pages/Jobs.razor @@ -3019,9 +3019,10 @@ else /// Opens a URL in a new tab that automatically closes after a delay. /// Used for fetch-details fallback where the browser extension captures data. /// - private async Task OpenTabAndAutoClose(string url, int delaySeconds = 30) + private async Task OpenTabAndAutoClose(string url, int? delaySeconds = null) { - await JSRuntime.InvokeVoidAsync("crawlPagesRunner.openAndScheduleClose", url, delaySeconds, true); + var delay = delaySeconds ?? SettingsService.GetSettings().FetchDetailsAutoCloseSeconds; + await JSRuntime.InvokeVoidAsync("crawlPagesRunner.openAndScheduleClose", url, delay, true); } private async Task ShareToWhatsApp(JobListing job) diff --git a/Components/Pages/Settings.razor b/Components/Pages/Settings.razor index a715933..7d88cdd 100644 --- a/Components/Pages/Settings.razor +++ b/Components/Pages/Settings.razor @@ -1282,6 +1282,27 @@ + +