mirror of
https://github.com/paperclipai/paperclip
synced 2026-03-25 11:21:48 +00:00
The invalidateProject() in ProjectProperties only invalidated queryKeys.projects.detail(project.id) (UUID), but the parent ProjectDetail query uses routeProjectRef which is typically the URL key (e.g. "openclaw-testing"). This meant mutations succeeded but the parent query was never refetched — the UI only updated on page refresh. Now also invalidates via project.urlKey so both UUID and URL-key based query caches are cleared. Co-Authored-By: Paperclip <noreply@paperclip.ing> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>