1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-01 20:05:23 +02:00

fix(app): un-needed checkbox in service details view (#2982)

This commit is contained in:
xAt0mZ 2019-07-22 12:59:29 +02:00 committed by GitHub
commit 2bf125c8cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,9 @@ angular.module('portainer.extensions.rbac')
try {
const rbacEnabled = await ExtensionService.extensionEnabled(ExtensionService.EXTENSIONS.RBAC);
if (!rbacEnabled) {
elem.show();
return;
}
} catch (err) {
elem.show();
return;
}