mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 15:22:39 +02:00
feat: improve connection handling and status updates in SurfSense plugin
This commit is contained in:
parent
a5e5f229d9
commit
26ed2a2ba1
2 changed files with 4 additions and 0 deletions
|
|
@ -115,7 +115,9 @@ export class SurfSenseSettingTab extends PluginSettingTab {
|
|||
if (this.plugin.settings.searchSpaceId !== null) {
|
||||
try {
|
||||
await this.plugin.engine.ensureConnected();
|
||||
await this.plugin.engine.flushQueue();
|
||||
new Notice("Surfsense: vault connected.");
|
||||
this.display();
|
||||
} catch (err) {
|
||||
this.handleApiError(err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue