mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 21:29:12 +00:00
setCTA on Khoj Obsidian plugin button. Minor cleanup of space, tabs
This commit is contained in:
@@ -67,6 +67,7 @@ export class KhojSettingTab extends PluginSettingTab {
|
|||||||
.setDesc('Manually force Khoj to re-index your Obsidian Vault')
|
.setDesc('Manually force Khoj to re-index your Obsidian Vault')
|
||||||
.addButton(button => button
|
.addButton(button => button
|
||||||
.setButtonText('Update')
|
.setButtonText('Update')
|
||||||
|
.setCta()
|
||||||
.onClick(async () => {
|
.onClick(async () => {
|
||||||
await request(`${this.plugin.settings.khojUrl}/api/update?t=markdown&force=true`);
|
await request(`${this.plugin.settings.khojUrl}/api/update?t=markdown&force=true`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user