fix(taglist): add missing `props` and `state` for architectures

This commit is contained in:
Joxit 2023-06-08 08:28:23 +02:00
parent b88dc4567d
commit ae9591c79a
No known key found for this signature in database
GPG Key ID: F526592B8E012263
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@
},
onLoad(props, state) {
if (props.image.manifests) {
return this.onList(props.image.manifests);
return this.onList(props.image.manifests, props, state);
} else if (props.image.blobs) {
return this.onBlobs(props.image.blobs);
return this.onBlobs(props.image.blobs, props, state);
}
props.image.on('blobs', (blobs) => this.onBlobs(blobs, props, state));
props.image.on('list', (list) => this.onList(list, props, state));