Skip to content

Commit

Permalink
fix: alt-click does not work correctly with search (#196)
Browse files Browse the repository at this point in the history
fixes #196
  • Loading branch information
Joxit committed Jun 23, 2021
1 parent a19c992 commit b97ee4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/docker-registry-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docker-registry-ui",
"version": "2.0.2",
"version": "2.0.3",
"scripts": {
"start": "ROLLUP_SERVE=true rollup -c -w",
"build": "rollup -c",
Expand Down
3 changes: 2 additions & 1 deletion src/components/tag-list/tag-table.riot
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
onRemoveImageHeaderChange(checked, event) {
if (event.altKey === true) {
const tags = getPage(this.props.tags, this.props.page);
tags.forEach(tag => this.state.toDelete.add(tag));
tags.filter(image => matchSearch(this.props.filterResults, image.tag))
.forEach(tag => this.state.toDelete.add(tag));
this.update({
multiDelete: true,
toDelete: this.state.toDelete
Expand Down

0 comments on commit b97ee4b

Please sign in to comment.