mirror of https://github.com/portainer/portainer
fix(registry): EE-4526 Registry Manage access link broken (#7975)
parent
49d02e0386
commit
f94147b07b
|
@ -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…
Reference in New Issue