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

View file

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