diff --git a/src/lib/stores/calendar.svelte.ts b/src/lib/stores/calendar.svelte.ts index 2b95bfd..585e46a 100644 --- a/src/lib/stores/calendar.svelte.ts +++ b/src/lib/stores/calendar.svelte.ts @@ -22,12 +22,12 @@ class CalendarStore { } } - async importPst(path: string, password?: string) { + async importPst(path: string, password?: string, rangeDays?: number) { this.importing = true; this.importError = null; this.importProgress = null; try { - await api.importPst(path, password); + await api.importPst(path, password, rangeDays); await this.load(); } catch (e) { this.importError = errorMessage(e);