Update More.tsx
This commit is contained in:
parent
0721109d07
commit
655d51f877
1 changed files with 3 additions and 15 deletions
|
|
@ -36,26 +36,14 @@ function MorePage() {
|
|||
Local embeddings of your codebase
|
||||
</span>
|
||||
</div>
|
||||
{!disableIndexing ? (
|
||||
{disableIndexing ? (
|
||||
<div className="pb-2 pt-5">
|
||||
<p className="py-1 text-center font-semibold">
|
||||
Indexing is disabled
|
||||
</p>
|
||||
<p className="text-lightgray cursor-pointer text-center text-xs">
|
||||
<span
|
||||
className="underline hover:brightness-125"
|
||||
onClick={() =>
|
||||
ideMessenger.post("config/openProfile", {
|
||||
profileId: undefined,
|
||||
})
|
||||
}
|
||||
>
|
||||
Open your config{" "}
|
||||
</span>
|
||||
<span>
|
||||
and set <code>disableIndexing</code> to <code>true</code> to
|
||||
enable indexing
|
||||
</span>
|
||||
Open settings and toggle <code>Disable Indexing</code> to
|
||||
re-enable
|
||||
</p>
|
||||
</div>
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue