mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 13:52:40 +02:00
chore: update GitHub Actions workflows to use Node.js 22.x and enhance connection indicator styling in SurfSense plugin
This commit is contained in:
parent
3b38daaca5
commit
3b7f27cff9
4 changed files with 10 additions and 10 deletions
|
|
@ -115,7 +115,7 @@ export class SurfSenseSettingTab extends PluginSettingTab {
|
|||
if (this.plugin.settings.searchSpaceId !== null) {
|
||||
try {
|
||||
await this.plugin.engine.ensureConnected();
|
||||
await this.plugin.engine.flushQueue();
|
||||
await this.plugin.engine.maybeReconcile(true);
|
||||
new Notice("Surfsense: vault connected.");
|
||||
this.display();
|
||||
} catch (err) {
|
||||
|
|
@ -267,6 +267,7 @@ export class SurfSenseSettingTab extends PluginSettingTab {
|
|||
|
||||
private renderConnectionHeading(containerEl: HTMLElement): void {
|
||||
const heading = new Setting(containerEl).setName("Connection").setHeading();
|
||||
heading.nameEl.addClass("surfsense-connection-heading");
|
||||
const indicator = heading.nameEl.createSpan({
|
||||
cls: "surfsense-connection-indicator",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue