Skip to content

Commit

Permalink
Sort menu duplicate commands
Browse files Browse the repository at this point in the history
Fixes #45
  • Loading branch information
carlocardella committed Jan 11, 2023
1 parent f1ff562 commit 2e2ec2a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

See the [list of open enhancements on GitHub](https://github.com/carlocardella/vscode-VirtualRepos/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Aenhancement)

## [0.0.31] - 2023-01-10

### Fixed

* [#45 Sort menu duplicate commands](https://github.com/carlocardella/vscode-VirtualRepos/issues/45)

## [0.0.30] - 2023-01-07

### Changed
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,82 +488,82 @@
},
{
"command": "VirtualRepos.sortRepoByNameEmpty",
"when": "VirtualRepos.sortType.name",
"when": "view == virtualReposView && VirtualRepos.sortType.name",
"group": "1_sortType@1"
},
{
"command": "VirtualRepos.sortRepoByName",
"when": "!VirtualRepos.sortType.name",
"when": "view == virtualReposView && !VirtualRepos.sortType.name",
"group": "1_sortType@1"
},
{
"command": "VirtualRepos.sortRepoByForksEmpty",
"when": "VirtualRepos.sortType.forks",
"when": "view == virtualReposView && VirtualRepos.sortType.forks",
"group": "1_sortType@2"
},
{
"command": "VirtualRepos.sortRepoByForks",
"when": "!VirtualRepos.sortType.forks",
"when": "view == virtualReposView && !VirtualRepos.sortType.forks",
"group": "1_sortType@2"
},
{
"command": "VirtualRepos.sortRepoByStarsEmpty",
"when": "VirtualRepos.sortType.stars",
"when": "view == virtualReposView && VirtualRepos.sortType.stars",
"group": "1_sortType@3"
},
{
"command": "VirtualRepos.sortRepoByStars",
"when": "!VirtualRepos.sortType.stars",
"when": "view == virtualReposView && !VirtualRepos.sortType.stars",
"group": "1_sortType@3"
},
{
"command": "VirtualRepos.sortRepoByCreationTimeEmpty",
"when": "VirtualRepos.sortType.creationTime",
"when": "view == virtualReposView && VirtualRepos.sortType.creationTime",
"group": "1_sortType@4"
},
{
"command": "VirtualRepos.sortRepoByCreationTime",
"when": "!VirtualRepos.sortType.creationTime",
"when": "view == virtualReposView && !VirtualRepos.sortType.creationTime",
"group": "1_sortType@4"
},
{
"command": "VirtualRepos.sortRepoByUpdateTimeEmpty",
"when": "VirtualRepos.sortType.updateTime",
"when": "view == virtualReposView && VirtualRepos.sortType.updateTime",
"group": "1_sortType@5"
},
{
"command": "VirtualRepos.sortRepoByUpdateTime",
"when": "!VirtualRepos.sortType.updateTime",
"when": "view == virtualReposView && !VirtualRepos.sortType.updateTime",
"group": "1_sortType@5"
},
{
"command": "VirtualRepos.sortRepoByWatchersEmpty",
"when": "VirtualRepos.sortType.watchers",
"when": "view == virtualReposView && VirtualRepos.sortType.watchers",
"group": "1_sortType@6"
},
{
"command": "VirtualRepos.sortRepoByWatchers",
"when": "!VirtualRepos.sortType.watchers",
"when": "view == virtualReposView && !VirtualRepos.sortType.watchers",
"group": "1_sortType@6"
},
{
"command": "VirtualRepos.sortAscendingEmpty",
"when": "VirtualRepos.sortDirection.ascending",
"when": "view == virtualReposView && VirtualRepos.sortDirection.ascending",
"group": "2_sortDirection@1"
},
{
"command": "VirtualRepos.sortAscending",
"when": "!VirtualRepos.sortDirection.ascending",
"when": "view == virtualReposView && !VirtualRepos.sortDirection.ascending",
"group": "2_sortDirection@1"
},
{
"command": "VirtualRepos.sortDescendingEmpty",
"when": "VirtualRepos.sortDirection.descending",
"when": "view == virtualReposView && VirtualRepos.sortDirection.descending",
"group": "2_sortDirection@2"
},
{
"command": "VirtualRepos.sortDescending",
"when": "!VirtualRepos.sortDirection.descending",
"when": "view == virtualReposView && !VirtualRepos.sortDirection.descending",
"group": "2_sortDirection@2"
}
],
Expand Down

0 comments on commit 2e2ec2a

Please sign in to comment.