feat(ui): calendar store passes rangeDays through to importPst
This commit is contained in:
1 parent
6622ae81ff
commit
80ad2a5f76
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user