mirror of
https://github.com/bitsofchris/openaugi-obsidian-plugin.git
synced 2026-07-22 12:40:27 +00:00
close modal after copy
This commit is contained in:
parent
cb0d4089a4
commit
13f1aa4f86
1 changed files with 1 additions and 0 deletions
|
|
@ -135,6 +135,7 @@ export class ContextPreviewModal extends Modal {
|
|||
.onClick(async () => {
|
||||
await navigator.clipboard.writeText(this.context.aggregatedContent);
|
||||
new Notice('Context copied to clipboard!');
|
||||
this.close();
|
||||
})
|
||||
)
|
||||
.addButton(button => button
|
||||
|
|
|
|||
Loading…
Reference in a new issue