mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
Reenable plus welcome dialog (#1204)
This commit is contained in:
parent
5c84a103a0
commit
13224a2f54
2 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ export function applyPlusSettings(): void {
|
|||
defaultChainType: ChainType.COPILOT_PLUS_CHAIN,
|
||||
});
|
||||
if (previousEmbeddingModelKey !== embeddingModelKey) {
|
||||
VectorStoreManager.getInstance().indexVaultToVectorStore(true);
|
||||
VectorStoreManager.getInstance().indexVaultToVectorStore();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { CopilotPlusWelcomeModal } from "@/components/modals/CopilotPlusWelcomeModal";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { PasswordInput } from "@/components/ui/password-input";
|
||||
|
|
@ -58,8 +59,7 @@ export function PlusSettings() {
|
|||
setError("Invalid license key");
|
||||
} else {
|
||||
setError(null);
|
||||
// TODO: Reenable after fixing the server issue.
|
||||
// new CopilotPlusWelcomeModal(app).open();
|
||||
new CopilotPlusWelcomeModal(app).open();
|
||||
}
|
||||
}}
|
||||
className="min-w-20"
|
||||
|
|
|
|||
Loading…
Reference in a new issue