fix(settings): change IntelliSense folder selection handler

- Replace navigateToIntelliSenseFolder with selectIntelliSenseItemAsLibrary for button click
- Pass intelliSensePath and false as arguments to new handler function
- Update button onClick behavior to reflect new selection logic
This commit is contained in:
tigeren 2025-10-19 13:03:16 +00:00
parent 3bed369a40
commit 301d315ed1
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ const SettingsPage = () => {
<div className="font-mono text-sm text-zinc-200 bg-zinc-800 p-2 rounded flex items-center justify-between">
<span className="truncate">{intelliSensePath}</span>
<button
onClick={() => navigateToIntelliSenseFolder(intelliSensePath)}
onClick={() => selectIntelliSenseItemAsLibrary(intelliSensePath, false)}
className="ml-2 px-2 py-1 bg-zinc-700 text-xs text-zinc-300 rounded hover:bg-zinc-600"
>
Select as Library