mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
Fix Git worktree UI: hide Follow button for current worktree
This commit is contained in:
parent
6f16228370
commit
fe2f30ed73
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ export class WorktreeManager extends LitElement {
|
||||||
|
|
||||||
<div class="flex gap-2 flex-wrap sm:flex-nowrap sm:ml-4">
|
<div class="flex gap-2 flex-wrap sm:flex-nowrap sm:ml-4">
|
||||||
${
|
${
|
||||||
!worktree.isMainWorktree
|
!worktree.isMainWorktree && !worktree.isCurrentWorktree
|
||||||
? html`
|
? html`
|
||||||
<button
|
<button
|
||||||
@click=${() => this.handleToggleFollow(worktree.branch, this.followBranch !== worktree.branch)}
|
@click=${() => this.handleToggleFollow(worktree.branch, this.followBranch !== worktree.branch)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue