Update More.tsx

This commit is contained in:
Patrick Erichsen 2025-02-21 13:33:09 -08:00
parent 0721109d07
commit 655d51f877

View file

@ -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>
) : (