fix: handle local storage quota for model cache

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-25 16:11:12 +02:00
parent ac2089f921
commit 165ad9c02b
3 changed files with 132 additions and 2 deletions
+1
View File
@@ -68,6 +68,7 @@ class ServersPage {
deleteServer(serverId) {
const servers = loadServers().filter((server) => server.id !== serverId);
saveServers(servers);
clearServerCaches(serverId);
const activeServerId = getActiveServerId();
if (activeServerId === serverId) {