We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c262c commit 7723842Copy full SHA for 7723842
packages/jupyter-ai/src/components/settings/model-id-input.tsx
@@ -15,7 +15,9 @@ import Save from '@mui/icons-material/Save';
15
*/
16
const highlightMatches = (text: string, inputValue: string) => {
17
const trimmedInput = inputValue.trim();
18
- if (!trimmedInput) return text;
+ if (!trimmedInput) {
19
+ return text;
20
+ } // If input is empty, return original text
21
22
const parts = text.split(new RegExp(`(${trimmedInput})`, 'gi'));
23
return (
0 commit comments