This commit is contained in:
Timothy Jaeryang Baek 2025-10-01 21:57:34 -05:00
parent d87a2315ce
commit 9677871ce7

View file

@ -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