fix: shift-click for multi-delete-in-a-row selects wrong images (#323)

fixes #323
This commit is contained in:
Joxit 2023-07-18 00:08:28 +02:00
parent c74a9aeaa3
commit bf9c6c82e7
No known key found for this signature in database
GPG Key ID: F526592B8E012263
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "docker-registry-ui",
"version": "2.5.0",
"version": "2.5.1",
"type": "module",
"scripts": {
"format": "npm run format-html && npm run format-js && npm run format-riot",

View File

@ -238,7 +238,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
return selectedImage;
} else {
let shouldChange = false;
const tags = getPage(this.props.tags, this.props.page);
const tags = this.getPage(this.props.tags, this.props.page);
tags
.filter((image) => {
if (image == this.state.selectedImage || image == selectedImage) {