mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
d87a2315ce
commit
9677871ce7
1 changed files with 4 additions and 1 deletions
|
|
@ -506,7 +506,10 @@
|
|||
};
|
||||
|
||||
const savedModelIds = async () => {
|
||||
if ($selectedFolder && $selectedFolder?.data?.model_ids !== selectedModels) {
|
||||
if (
|
||||
$selectedFolder &&
|
||||
JSON.stringify($selectedFolder?.data?.model_ids) !== JSON.stringify(selectedModels)
|
||||
) {
|
||||
const res = await updateFolderById(localStorage.token, $selectedFolder.id, {
|
||||
data: {
|
||||
model_ids: selectedModels
|
||||
|
|
|
|||
Loading…
Reference in a new issue