Compare commits

..

3 Commits
2.0.2 ... 2.0.4

Author SHA1 Message Date
Joxit
e0ec86503a fix: can't view platform specific tag info (#198) 2021-06-24 09:31:32 +02:00
Joxit
b97ee4bc60 fix: alt-click does not work correctly with search (#196)
fixes #196
2021-06-23 20:42:48 +02:00
Joxit
a19c992d5a build: generate build for v2.0.2 2021-06-08 17:54:10 +02:00
6 changed files with 14 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "docker-registry-ui",
"version": "2.0.2",
"version": "2.0.4",
"scripts": {
"start": "ROLLUP_SERVE=true rollup -c -w",
"build": "rollup -c",

View File

@@ -44,6 +44,7 @@ export default [
dir: output,
name: 'DockerRegistryUI',
format: 'iife',
sourcemap: useServe
},
plugins: [emptyDirectories(output)].concat(
plugins,

View File

@@ -96,7 +96,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
state.snackbarMessage = undefined;
},
onBeforeMount(props) {
console.log(props)
// props.singleRegistry === 'true' means old static version
this.state.registryUrl = props.registryUrl ||
(props.singleRegistry === 'true' ? undefined : (router.getUrlQueryParam() || getRegistryServers(0))) ||

View File

@@ -64,9 +64,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
},
onTabChanged(arch, idx) {
const state = this.state;
const {
registryUrl,
onNotify
} = this.props;
state.elements = []
state.image.variants[idx] = state.image.variants[idx] ||
new DockerImage(this.props.image, arch.digest, false, this.props.registryUrl, this.props.onNotify);
new DockerImage(this.props.image, arch.digest, {
list: false,
registryUrl,
onNotify
});
if (state.image.variants[idx].blobs) {
return this.processBlobs(state.image.variants[idx].blobs);
}

View File

@@ -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