Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
6758f3d3
Commit
6758f3d3
authored
Jun 01, 2024
by
Timothy J. Baek
Browse files
refac: disable sortable on mobile
parent
6bd7c20f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
src/lib/components/workspace/Models.svelte
src/lib/components/workspace/Models.svelte
+11
-9
No files found.
src/lib/components/workspace/Models.svelte
View file @
6758f3d3
...
...
@@ -7,7 +7,7 @@
import { onMount, getContext, tick } from 'svelte';
import { WEBUI_NAME, mo
delf
ile
s
, models, settings, user } from '$lib/stores';
import { WEBUI_NAME, mo
b
ile, models, settings, user } from '$lib/stores';
import { addNewModel, deleteModelById, getModelInfos, updateModelById } from '$lib/apis/models';
import { deleteModel } from '$lib/apis/ollama';
...
...
@@ -170,6 +170,7 @@
console.log(localModelfiles);
}
if (!$mobile) {
// SortableJS
sortable = new Sortable(document.getElementById('model-list'), {
animation: 150,
...
...
@@ -178,6 +179,7 @@
positionChangeHanlder();
}
});
}
});
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment