mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-22 11:43:07 +00:00
Update apps/ui/src/components/views/board-view/worktree-panel/worktree-panel.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -613,9 +613,9 @@ export function WorktreePanel({
|
|||||||
const handleConfirmSelectRemote = useCallback(
|
const handleConfirmSelectRemote = useCallback(
|
||||||
async (worktree: WorktreeInfo, remote: string) => {
|
async (worktree: WorktreeInfo, remote: string) => {
|
||||||
if (selectRemoteOperation === 'pull') {
|
if (selectRemoteOperation === 'pull') {
|
||||||
handlePull(worktree, remote);
|
await handlePull(worktree, remote);
|
||||||
} else {
|
} else {
|
||||||
handlePush(worktree, remote);
|
await handlePush(worktree, remote);
|
||||||
}
|
}
|
||||||
fetchBranches(worktree.path);
|
fetchBranches(worktree.path);
|
||||||
fetchWorktrees();
|
fetchWorktrees();
|
||||||
|
|||||||
Reference in New Issue
Block a user