diff options
Diffstat (limited to 'app/assets/javascripts/clusters/agents/index.js')
-rw-r--r-- | app/assets/javascripts/clusters/agents/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/clusters/agents/index.js b/app/assets/javascripts/clusters/agents/index.js index ba7b3edba72..8a447f57f00 100644 --- a/app/assets/javascripts/clusters/agents/index.js +++ b/app/assets/javascripts/clusters/agents/index.js @@ -1,4 +1,5 @@ import Vue from 'vue'; +import { parseBoolean } from '~/lib/utils/common_utils'; import AgentShowPage from 'ee_else_ce/clusters/agents/components/show.vue'; import apolloProvider from './graphql/provider'; import createRouter from './router'; @@ -16,6 +17,8 @@ export default () => { canAdminVulnerability, emptyStateSvgPath, projectPath, + kasAddress, + canAdminCluster, } = el.dataset; return new Vue({ @@ -28,6 +31,8 @@ export default () => { canAdminVulnerability, emptyStateSvgPath, projectPath, + kasAddress, + canAdminCluster: parseBoolean(canAdminCluster), }, render(createElement) { return createElement(AgentShowPage); |