fix(registry): EE-4526 Registry Manage access link broken (#7975)

pull/7996/head
congs 2 years ago committed by GitHub
parent 49d02e0386
commit f94147b07b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,8 +45,6 @@ class DockerRegistryAccessController {
$onInit() { $onInit() {
return this.$async(async () => { return this.$async(async () => {
this.Authentication.redirectIfUnauthorized(['PortainerRegistryUpdateAccess']);
this.registryTo = window.location.hash.match(/#!\/\d+\/docker\/swarm\/registries/) ? 'docker.swarm.registries' : 'docker.host.registries'; this.registryTo = window.location.hash.match(/#!\/\d+\/docker\/swarm\/registries/) ? 'docker.swarm.registries' : 'docker.host.registries';
try { try {

Loading…
Cancel
Save