Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: show GitHub buttons only when repository is selected
The Push to Branch and Push & Create PR buttons were showing up whenever GitHub was connected, even if no specific repository was selected. This change ensures these buttons only appear when both conditions are met: 1. GitHub is connected (gitHubToken exists) 2. A specific repository is selected (selectedRepository exists) Otherwise, the Download files button is shown.
- Loading branch information