File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -268,19 +268,19 @@ const loadModels = async () => {
268268 }
269269};
270270
271- // Функция для установки значения модели
271+ // Function to set the model value
272272function setModel (val ) {
273- settings .model .value = val
273+ settings .model .value = val;
274274}
275275
276- const modelOptions = ref (settings .models .value )
276+ const modelOptions = ref (settings .models .value );
277277
278- // Функция для фильтрации вариантов
278+ // Function to filter the model options
279279function filterFn (val , update , abort ) {
280280 update (() => {
281- const needle = val .toLowerCase () // Важно: используем toLowerCase, а не toLocaleLowerCase, если не требуется учитывать локаль
282- modelOptions .value = settings .models .value .filter (v => v .toLowerCase ().includes (needle))
283- })
281+ const needle = val .toLowerCase (); // Important: using toLowerCase, instead of toLocaleLowerCase, unless you need to account for locale.
282+ modelOptions .value = settings .models .value .filter (v => v .toLowerCase ().includes (needle));
283+ });
284284}
285285< / script>
286286
You can’t perform that action at this time.
0 commit comments