Skip to content
代码片段 群组 项目
提交 5313d3a3 编辑于 作者: Dave Pisek's avatar Dave Pisek
浏览文件

Add instance-names to security root applications

This change makes it easier to debug vue-apps in the browser, as tools
like vue-devtools can now see the instance-names of the root apps.
上级 b902a6d6
No related branches found
No related tags found
无相关合并请求
...@@ -37,6 +37,7 @@ export const initSecurityConfiguration = (el) => { ...@@ -37,6 +37,7 @@ export const initSecurityConfiguration = (el) => {
return new Vue({ return new Vue({
el, el,
apolloProvider, apolloProvider,
name: 'SecurityConfigurationRoot',
provide: { provide: {
projectFullPath, projectFullPath,
upgradePath, upgradePath,
......
...@@ -43,6 +43,7 @@ export default () => { ...@@ -43,6 +43,7 @@ export default () => {
return new Vue({ return new Vue({
el, el,
name: 'LicenseComplianceAppRoot',
store, store,
components: { components: {
LicenseComplianceApp, LicenseComplianceApp,
......
...@@ -12,6 +12,7 @@ export default (el) => { ...@@ -12,6 +12,7 @@ export default (el) => {
return new Vue({ return new Vue({
el, el,
name: 'SecurityDashboardSettingsRoot',
apolloProvider, apolloProvider,
render(createElement) { render(createElement) {
return createElement(ProjectManager, { return createElement(ProjectManager, {
......
...@@ -25,6 +25,7 @@ export default (el, namespaceType) => { ...@@ -25,6 +25,7 @@ export default (el, namespaceType) => {
return new Vue({ return new Vue({
apolloProvider, apolloProvider,
el, el,
name: 'PoliciesAppRoot',
provide: { provide: {
assignedPolicyProject: JSON.parse(assignedPolicyProject), assignedPolicyProject: JSON.parse(assignedPolicyProject),
disableSecurityPolicyProject: parseBoolean(disableSecurityPolicyProject), disableSecurityPolicyProject: parseBoolean(disableSecurityPolicyProject),
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册