mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
desktop: Refresh releases on updates
Releases were the one COB with keys of their own that nothing listened on: the release list, a release and the sidebar count now refresh when a release changes, and the user's own release writes refresh them too.
This commit is contained in:
@@ -37,6 +37,11 @@ export const keys = {
|
||||
patch: (rid: string, id: string) => ["repo", rid, "patch", id] as const,
|
||||
patchDetails: (rid: string) => ["repo", rid, "patch"] as const,
|
||||
releases: (rid: string) => ["repo", rid, "releases"] as const,
|
||||
releaseList: (rid: string, scope: string) =>
|
||||
["repo", rid, "releases", "list", scope] as const,
|
||||
release: (rid: string, id: string) =>
|
||||
["repo", rid, "releases", "release", id] as const,
|
||||
releaseCount: (rid: string) => ["repo", rid, "releases", "count"] as const,
|
||||
boards: (rid: string) => ["repo", rid, "boards"] as const,
|
||||
jobs: (rid: string) => ["repo", rid, "jobs"] as const,
|
||||
repos: () => ["repos"] as const,
|
||||
|
||||
Reference in New Issue
Block a user