mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
setCTA on Khoj Obsidian plugin button. Minor cleanup of space, tabs
This commit is contained in:
parent
531d423715
commit
853192932a
3 changed files with 4 additions and 3 deletions
|
@ -67,6 +67,7 @@ export class KhojSettingTab extends PluginSettingTab {
|
|||
.setDesc('Manually force Khoj to re-index your Obsidian Vault')
|
||||
.addButton(button => button
|
||||
.setButtonText('Update')
|
||||
.setCta()
|
||||
.onClick(async () => {
|
||||
await request(`${this.plugin.settings.khojUrl}/api/update?t=markdown&force=true`);
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ export async function configureKhojBackend(setting: KhojSetting) {
|
|||
new Notice(`✅ Successfully Setup Khoj`);
|
||||
})
|
||||
.catch(error => {
|
||||
new Notice(`❗️Failed to configure Khoj backend. Contact developer on Github. \n\nError: ${error}`);
|
||||
new Notice(`❗️Failed to configure Khoj backend. Contact developer on Github.\n\nError: ${error}`);
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"0.2.1": "0.15.0",
|
||||
"0.2.2": "0.15.0"
|
||||
"0.2.1": "0.15.0",
|
||||
"0.2.2": "0.15.0"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue