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
10247d87
Commit
10247d87
authored
Oct 23, 2019
by
Martin Wortschack
Committed by
Filipa Lacerda
Oct 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Productivity Analytics: Use options for stateless data in filter dropdowns component
parent
adae8ca5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ee/app/assets/javascripts/analytics/productivity_analytics/components/filter_dropdowns.vue
...cs/productivity_analytics/components/filter_dropdowns.vue
+10
-10
No files found.
ee/app/assets/javascripts/analytics/productivity_analytics/components/filter_dropdowns.vue
View file @
10247d87
...
...
@@ -12,14 +12,6 @@ export default {
data
()
{
return
{
groupId
:
null
,
groupsQueryParams
:
{
min_access_level
:
accessLevelReporter
,
},
projectsQueryParams
:
{
per_page
:
projectsPerPage
,
with_shared
:
false
,
// exclude forks
order_by
:
'
last_activity_at
'
,
},
};
},
computed
:
{
...
...
@@ -53,6 +45,14 @@ export default {
});
},
},
groupsQueryParams
:
{
min_access_level
:
accessLevelReporter
,
},
projectsQueryParams
:
{
per_page
:
projectsPerPage
,
with_shared
:
false
,
// exclude forks
order_by
:
'
last_activity_at
'
,
},
};
</
script
>
...
...
@@ -60,14 +60,14 @@ export default {
<div
class=
"dropdown-container d-flex flex-column flex-lg-row"
>
<groups-dropdown-filter
class=
"group-select"
:query-params=
"groupsQueryParams"
:query-params=
"
$options.
groupsQueryParams"
@
selected=
"onGroupSelected"
/>
<projects-dropdown-filter
v-if=
"showProjectsDropdownFilter"
:key=
"groupId"
class=
"project-select"
:query-params=
"projectsQueryParams"
:query-params=
"
$options.
projectsQueryParams"
:group-id=
"groupId"
@
selected=
"onProjectsSelected"
/>
...
...
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