Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5490a663
Commit
5490a663
authored
Jun 29, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init policy properties
parent
aa2cf5e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ee/app/assets/javascripts/threat_monitoring/components/policy_list.vue
.../javascripts/threat_monitoring/components/policy_list.vue
+8
-2
No files found.
ee/app/assets/javascripts/threat_monitoring/components/policy_list.vue
View file @
5490a663
...
...
@@ -78,7 +78,13 @@ export default {
},
},
data
()
{
return
{
selectedPolicyName
:
null
,
initialManifest
:
null
,
initialEnforcementStatus
:
null
};
return
{
selectedPolicyName
:
null
,
initialManifest
:
null
,
initialEnforcementStatus
:
null
,
networkPolicies
:
[],
scanExecutionPolicies
:
[],
};
},
computed
:
{
...
mapState
(
'
threatMonitoring
'
,
[
...
...
@@ -91,7 +97,7 @@ export default {
return
setUrlFragment
(
this
.
documentationPath
,
'
container-network-policy
'
);
},
policies
()
{
return
[...
(
this
.
networkPolicies
||
[]),
...(
this
.
scanExecutionPolicies
||
[])
];
return
[...
this
.
networkPolicies
,
...
this
.
scanExecutionPolicies
];
},
isLoadingPolicies
()
{
return
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment