mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-21 04:46:29 +03:00
Add missing entries to scopeNameMap
This commit is contained in:
1 parent
47db2c24cf
commit
968c44b02f
1 file changed
+3
@@ -209,6 +209,7 @@ func (self *RefreshHelper) Refresh(options types.RefreshOptions) {
|
||||
func getScopeNames(scopes []types.RefreshableView) []string {
|
||||
scopeNameMap := map[types.RefreshableView]string{
|
||||
types.COMMITS: "commits",
|
||||
types.REBASE_COMMITS: "rebaseCommits",
|
||||
types.BRANCHES: "branches",
|
||||
types.FILES: "files",
|
||||
types.SUBMODULES: "submodules",
|
||||
@@ -221,7 +222,9 @@ func getScopeNames(scopes []types.RefreshableView) []string {
|
||||
types.STATUS: "status",
|
||||
types.BISECT_INFO: "bisect",
|
||||
types.STAGING: "staging",
|
||||
types.PATCH_BUILDING: "patchBuilding",
|
||||
types.MERGE_CONFLICTS: "mergeConflicts",
|
||||
types.COMMIT_FILES: "commitFiles",
|
||||
}
|
||||
|
||||
return lo.Map(scopes, func(scope types.RefreshableView, _ int) string {
|
||||
|
||||
Reference in new issue
Block a user