mirror of
https://github.com/block/buzz.git
synced 2026-11-08 10:21:46 +00:00
fix(desktop): ground agent workspace, migrate legacy nest, configurable repos_dir (#1194)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
@@ -32,7 +32,9 @@ export type UseWorkspacesReturn = {
|
||||
reconnectWorkspace: () => void;
|
||||
updateWorkspace: (
|
||||
id: string,
|
||||
updates: Partial<Pick<Workspace, "name" | "relayUrl" | "token" | "pubkey">>,
|
||||
updates: Partial<
|
||||
Pick<Workspace, "name" | "relayUrl" | "token" | "pubkey" | "reposDir">
|
||||
>,
|
||||
) => void;
|
||||
};
|
||||
|
||||
@@ -154,7 +156,7 @@ function useWorkspacesInternal(): UseWorkspacesReturn {
|
||||
(
|
||||
id: string,
|
||||
updates: Partial<
|
||||
Pick<Workspace, "name" | "relayUrl" | "token" | "pubkey">
|
||||
Pick<Workspace, "name" | "relayUrl" | "token" | "pubkey" | "reposDir">
|
||||
>,
|
||||
) => {
|
||||
setWorkspacesState((prev) => {
|
||||
|
||||
Reference in New Issue
Block a user