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
c94dc098
Commit
c94dc098
authored
Apr 24, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass `hasFiltersApplied` prop on component
parent
1dff121f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ee/app/assets/javascripts/roadmap/components/app.vue
ee/app/assets/javascripts/roadmap/components/app.vue
+5
-0
spec/javascripts/roadmap/components/app_spec.js
spec/javascripts/roadmap/components/app_spec.js
+1
-0
No files found.
ee/app/assets/javascripts/roadmap/components/app.vue
View file @
c94dc098
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
type
:
Object
,
type
:
Object
,
required
:
true
,
required
:
true
,
},
},
hasFiltersApplied
:
{
type
:
Boolean
,
required
:
true
,
},
emptyStateIllustrationPath
:
{
emptyStateIllustrationPath
:
{
type
:
String
,
type
:
String
,
required
:
true
,
required
:
true
,
...
@@ -126,6 +130,7 @@
...
@@ -126,6 +130,7 @@
v-if=
"isEpicsListEmpty"
v-if=
"isEpicsListEmpty"
:timeframe-start=
"timeframeStart"
:timeframe-start=
"timeframeStart"
:timeframe-end=
"timeframeEnd"
:timeframe-end=
"timeframeEnd"
:has-filters-applied=
"hasFiltersApplied"
:empty-state-illustration-path=
"emptyStateIllustrationPath"
:empty-state-illustration-path=
"emptyStateIllustrationPath"
/>
/>
</div>
</div>
...
...
spec/javascripts/roadmap/components/app_spec.js
View file @
c94dc098
...
@@ -20,6 +20,7 @@ const createComponent = () => {
...
@@ -20,6 +20,7 @@ const createComponent = () => {
return
mountComponent
(
Component
,
{
return
mountComponent
(
Component
,
{
store
,
store
,
service
,
service
,
hasFiltersApplied
:
true
,
emptyStateIllustrationPath
:
mockSvgPath
,
emptyStateIllustrationPath
:
mockSvgPath
,
});
});
};
};
...
...
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