diff --git a/frontend/src/business/permission.js b/frontend/src/business/permission.js index 8229c0e2f9..c8d98f5bb6 100644 --- a/frontend/src/business/permission.js +++ b/frontend/src/business/permission.js @@ -28,7 +28,7 @@ export const xpack = { function checkLicense(el, binding, type) { let v = hasLicense() - if (v) { + if (!v) { el.parentNode && el.parentNode.removeChild(el) } }