fix: Make users fakedoor route visible on cloud (#4645)

This commit is contained in:
Alex Grozav 2022-11-18 15:21:59 +02:00 committed by GitHub
parent 0dc8925865
commit 919cb9180d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,6 +142,7 @@ export default mixins(
this.$router.push({ name: VIEWS.API_SETTINGS });
}
break;
case 'users': // Fakedoor feature added via hooks when user management is disabled on cloud
case 'environments':
case 'logging':
this.$router.push({ name: VIEWS.FAKE_DOOR, params: { featureId: key } }).catch(() => {});