fix: handle local storage quota for model cache
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user