fix: Compare turns off when the Multiple Models in Chat permission is turned off (#34515)

This commit is contained in:
G30 authored and GitHub committed 2026-11-15 23:24:35 -05:00
1 parent f22671e35a
commit 1675f4cff4
1 file changed
+2
@@ -424,6 +424,8 @@
}
};
$: if (!multipleEnabled && compareEnabled) setCompareEnabled(false);
const selectItem = (item, index: number) => {
selectedModelIdx = index;