mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2026-07-10 08:29:17 +00:00
fix(taglist): add missing props and state for architectures
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user