mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Add missing entries to scopeNameMap
This commit is contained in:
parent
47db2c24cf
commit
968c44b02f
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue