mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
fix(app): skip authorizations in CE [EE-2423] (#6431)
* feat(app): check auth on ee only * refactor(features): load edition from env var * fix(containers): show empty message if no containers
This commit is contained in:
parent
2c4c638f46
commit
b588d901cf
6 changed files with 35 additions and 19 deletions
|
@ -20,7 +20,7 @@ import { configApp } from './config';
|
|||
import { init as initFeatureService } from './portainer/feature-flags/feature-flags.service';
|
||||
import { Edition } from './portainer/feature-flags/enums';
|
||||
|
||||
initFeatureService(Edition.CE);
|
||||
initFeatureService(Edition[process.env.PORTAINER_EDITION]);
|
||||
|
||||
angular
|
||||
.module('portainer', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue