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
1dff121f
Commit
1dff121f
authored
Apr 24, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use `hasFiltersApplied` during app init
parent
998a9691
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ee/app/assets/javascripts/roadmap/index.js
ee/app/assets/javascripts/roadmap/index.js
+4
-0
No files found.
ee/app/assets/javascripts/roadmap/index.js
View file @
1dff121f
...
@@ -2,6 +2,7 @@ import Vue from 'vue';
...
@@ -2,6 +2,7 @@ import Vue from 'vue';
import
Translate
from
'
~/vue_shared/translate
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
{
convertPermissionToBoolean
}
from
'
~/lib/utils/common_utils
'
;
import
{
getTimeframeWindow
}
from
'
~/lib/utils/datetime_utility
'
;
import
{
getTimeframeWindow
}
from
'
~/lib/utils/datetime_utility
'
;
import
{
TIMEFRAME_LENGTH
}
from
'
./constants
'
;
import
{
TIMEFRAME_LENGTH
}
from
'
./constants
'
;
...
@@ -27,6 +28,7 @@ export default () => {
...
@@ -27,6 +28,7 @@ export default () => {
},
},
data
()
{
data
()
{
const
dataset
=
this
.
$options
.
el
.
dataset
;
const
dataset
=
this
.
$options
.
el
.
dataset
;
const
hasFiltersApplied
=
convertPermissionToBoolean
(
dataset
.
hasFiltersApplied
);
const
filterQueryString
=
window
.
location
.
search
.
substring
(
1
);
const
filterQueryString
=
window
.
location
.
search
.
substring
(
1
);
// Construct Epic API path to include
// Construct Epic API path to include
...
@@ -49,6 +51,7 @@ export default () => {
...
@@ -49,6 +51,7 @@ export default () => {
return
{
return
{
store
,
store
,
service
,
service
,
hasFiltersApplied
,
emptyStateIllustrationPath
:
dataset
.
emptyStateIllustration
,
emptyStateIllustrationPath
:
dataset
.
emptyStateIllustration
,
};
};
},
},
...
@@ -57,6 +60,7 @@ export default () => {
...
@@ -57,6 +60,7 @@ export default () => {
props
:
{
props
:
{
store
:
this
.
store
,
store
:
this
.
store
,
service
:
this
.
service
,
service
:
this
.
service
,
hasFiltersApplied
:
this
.
hasFiltersApplied
,
emptyStateIllustrationPath
:
this
.
emptyStateIllustrationPath
,
emptyStateIllustrationPath
:
this
.
emptyStateIllustrationPath
,
},
},
});
});
...
...
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